Skip to content

Commit

Permalink
Merge pull request #90254 from Gamepro5/patch-1
Browse files Browse the repository at this point in the history
Specify that `get_floor_normal()` does not return the surface normal
  • Loading branch information
akien-mga committed Apr 8, 2024
2 parents 6640e41 + 4e1305e commit 1aeb7b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/classes/CharacterBody3D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
<method name="get_floor_normal" qualifiers="const">
<return type="Vector3" />
<description>
Returns the surface normal of the floor at the last collision point. Only valid after calling [method move_and_slide] and when [method is_on_floor] returns [code]true[/code].
Returns the collision normal of the floor at the last collision point. Only valid after calling [method move_and_slide] and when [method is_on_floor] returns [code]true[/code].
[b]Warning:[/b] The collision normal is not always the same as the surface normal.
</description>
</method>
<method name="get_last_motion" qualifiers="const">
Expand Down

0 comments on commit 1aeb7b9

Please sign in to comment.