From 631cb10e860d6c2d50d396be00a5544f55bc1bba Mon Sep 17 00:00:00 2001 From: ShadowKyogre Date: Wed, 24 Jun 2015 13:24:42 -0700 Subject: [PATCH] Add some documentation for RayCast2D about is_colliding and get_collider quirks --- doc/base/classes.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 41721647e29..215f21b94bf 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -23032,12 +23032,14 @@ + Return whether the closest object the ray is pointing to is colliding with the vector, with the vector length considered. + 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.