From bbd225a80483ec993e0633e3bcfea67853f21ded Mon Sep 17 00:00:00 2001 From: kleonc <9283098+kleonc@users.noreply.github.com> Date: Tue, 1 Nov 2022 21:17:18 +0100 Subject: Add `ShapeCast2D/3D::get_collider_rid` method --- doc/classes/ShapeCast2D.xml | 7 +++++++ doc/classes/ShapeCast3D.xml | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/ShapeCast2D.xml b/doc/classes/ShapeCast2D.xml index 36c3beecb1..5a8eec3921 100644 --- a/doc/classes/ShapeCast2D.xml +++ b/doc/classes/ShapeCast2D.xml @@ -58,6 +58,13 @@ Returns the collided [Object] of one of the multiple collisions at [param index], or [code]null[/code] if no object is intersecting the shape (i.e. [method is_colliding] returns [code]false[/code]). + + + + + Returns the [RID] of the collided object of one of the multiple collisions at [param index]. + + diff --git a/doc/classes/ShapeCast3D.xml b/doc/classes/ShapeCast3D.xml index cbdf660133..735b91cee9 100644 --- a/doc/classes/ShapeCast3D.xml +++ b/doc/classes/ShapeCast3D.xml @@ -58,6 +58,13 @@ Returns the collided [Object] of one of the multiple collisions at [param index], or [code]null[/code] if no object is intersecting the shape (i.e. [method is_colliding] returns [code]false[/code]). + + + + + Returns the [RID] of the collided object of one of the multiple collisions at [param index]. + + -- cgit v1.2.3