Add ShapeCast2D/3D::get_collider_rid method

This commit is contained in:
kleonc
2022-11-01 21:17:18 +01:00
parent 0a0e99cadc
commit bbd225a804
6 changed files with 28 additions and 0 deletions

View File

@@ -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]).
</description>
</method>
<method name="get_collider_rid" qualifiers="const">
<return type="RID" />
<param index="0" name="index" type="int" />
<description>
Returns the [RID] of the collided object of one of the multiple collisions at [param index].
</description>
</method>
<method name="get_collider_shape" qualifiers="const">
<return type="int" />
<param index="0" name="index" type="int" />