summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-06-24 18:33:38 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-06-24 18:33:38 -0300
commite3f4fbc75590c55c26d5c0b8c1f052afbb1309a5 (patch)
treef46a9f1a0b23c65139cca6fb4353bc0b11d94e93
parent48ac03915af8f9ff3f9e4c61aa8cc651da7188a0 (diff)
parent631cb10e860d6c2d50d396be00a5544f55bc1bba (diff)
Merge pull request #2181 from ShadowKyogre/doc-help
Add documentation for RayCast2D about is_colliding and get_collider quirks
-rw-r--r--doc/base/classes.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 41721647e2..215f21b94b 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -23032,12 +23032,14 @@
<return type="bool">
</return>
<description>
+ Return whether the closest object the ray is pointing to is colliding with the vector, with the vector length considered.
</description>
</method>
<method name="get_collider" qualifiers="const" >
<return type="Object">
</return>
<description>
+ Return the closest object the ray is pointing to. Note that this does not consider the length of the vector, so you must also use [is_colliding] to check if the object returned is actually colliding with the ray.
</description>
</method>
<method name="get_collider_shape" qualifiers="const" >