summaryrefslogtreecommitdiffstats
path: root/doc/classes/RayCast3D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/RayCast3D.xml')
-rw-r--r--doc/classes/RayCast3D.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/RayCast3D.xml b/doc/classes/RayCast3D.xml
index 83476a6d48..4c4db36aca 100644
--- a/doc/classes/RayCast3D.xml
+++ b/doc/classes/RayCast3D.xml
@@ -59,6 +59,12 @@
Returns the shape ID of the first object that the ray intersects, or [code]0[/code] if no object is intersecting the ray (i.e. [method is_colliding] returns [code]false[/code]).
</description>
</method>
+ <method name="get_collision_face_index" qualifiers="const">
+ <return type="int" />
+ <description>
+ Returns the collision object's face index at the collision point, or [code]-1[/code] if the shape intersecting the ray is not a [ConcavePolygonShape3D].
+ </description>
+ </method>
<method name="get_collision_mask_value" qualifiers="const">
<return type="bool" />
<param index="0" name="layer_number" type="int" />