Specify that get_floor_normal() does not return the surface normal

Also see godotengine/godot-proposals#8324
This commit is contained in:
Gamepro5 2024-04-05 03:12:46 -07:00 committed by Rémi Verschelde
parent e5b4ef8e95
commit 4e1305ee77
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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">