mirror of
https://github.com/godotengine/godot
synced 2024-09-15 22:38:28 +00:00
Merge pull request #90254 from Gamepro5/patch-1
Specify that `get_floor_normal()` does not return the surface normal
This commit is contained in:
commit
1aeb7b9aa2
|
@ -31,7 +31,8 @@
|
||||||
<method name="get_floor_normal" qualifiers="const">
|
<method name="get_floor_normal" qualifiers="const">
|
||||||
<return type="Vector3" />
|
<return type="Vector3" />
|
||||||
<description>
|
<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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_last_motion" qualifiers="const">
|
<method name="get_last_motion" qualifiers="const">
|
||||||
|
|
Loading…
Reference in a new issue