mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Document CharacterBody.get_last_slide_collision() returning null with no collision
This commit is contained in:
parent
07f4c06601
commit
eccd82afb4
2 changed files with 4 additions and 4 deletions
|
|
@ -46,7 +46,7 @@
|
|||
<method name="get_last_slide_collision">
|
||||
<return type="KinematicCollision3D" />
|
||||
<description>
|
||||
Returns a [KinematicCollision3D], which contains information about the latest collision that occurred during the last call to [method move_and_slide].
|
||||
Returns a [KinematicCollision3D] if a collision occurred. The returned value contains information about the latest collision that occurred during the last call to [method move_and_slide]. Returns [code]null[/code] if no collision occurred. See also [method get_slide_collision].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_platform_angular_velocity" qualifiers="const">
|
||||
|
|
@ -77,7 +77,7 @@
|
|||
<return type="KinematicCollision3D" />
|
||||
<param index="0" name="slide_idx" type="int" />
|
||||
<description>
|
||||
Returns a [KinematicCollision3D], which contains information about a collision that occurred during the last call to [method move_and_slide]. Since the body can collide several times in a single call to [method move_and_slide], you must specify the index of the collision in the range 0 to ([method get_slide_collision_count] - 1).
|
||||
Returns a [KinematicCollision3D], which contains information about a collision that occurred during the last call to [method move_and_slide]. Since the body can collide several times in a single call to [method move_and_slide], you must specify the index of the collision in the range 0 to ([method get_slide_collision_count] - 1). See also [method get_last_slide_collision].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_slide_collision_count" qualifiers="const">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue