summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowKyogre <shadowkyogre@aim.com>2015-06-24 13:24:42 -0700
committerShadowKyogre <shadowkyogre@aim.com>2015-06-24 13:24:42 -0700
commit631cb10e860d6c2d50d396be00a5544f55bc1bba (patch)
tree51031aa39008c8b29a11c2ed5986293d22c398e4
parent48f1d02da4795ba9d485fe5fe2bea907be2fc467 (diff)
Add some 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" >