mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Surface normal is not correct
This commit is contained in:
parent
6c57928063
commit
4799459e15
@ -30,7 +30,8 @@
|
|||||||
<method name="get_floor_normal" qualifiers="const">
|
<method name="get_floor_normal" qualifiers="const">
|
||||||
<return type="Vector2" />
|
<return type="Vector2" />
|
||||||
<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">
|
||||||
@ -94,7 +95,8 @@
|
|||||||
<method name="get_wall_normal" qualifiers="const">
|
<method name="get_wall_normal" qualifiers="const">
|
||||||
<return type="Vector2" />
|
<return type="Vector2" />
|
||||||
<description>
|
<description>
|
||||||
Returns the surface normal of the wall at the last collision point. Only valid after calling [method move_and_slide] and when [method is_on_wall] returns [code]true[/code].
|
Returns the collision normal of the wall at the last collision point. Only valid after calling [method move_and_slide] and when [method is_on_wall] 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="is_on_ceiling" qualifiers="const">
|
<method name="is_on_ceiling" qualifiers="const">
|
||||||
|
@ -87,7 +87,8 @@
|
|||||||
<method name="get_wall_normal" qualifiers="const">
|
<method name="get_wall_normal" qualifiers="const">
|
||||||
<return type="Vector3" />
|
<return type="Vector3" />
|
||||||
<description>
|
<description>
|
||||||
Returns the surface normal of the wall at the last collision point. Only valid after calling [method move_and_slide] and when [method is_on_wall] returns [code]true[/code].
|
Returns the collision normal of the wall at the last collision point. Only valid after calling [method move_and_slide] and when [method is_on_wall] 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="is_on_ceiling" qualifiers="const">
|
<method name="is_on_ceiling" qualifiers="const">
|
||||||
|
Loading…
Reference in New Issue
Block a user