diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-08 11:21:14 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-08 11:21:14 +0200 |
commit | 1aeb7b9aa2ca13ec48bd66285e9bb10c66d2ac7b (patch) | |
tree | 88ccec313c02bd5c18a8f6b81f6e1cc440cb7903 /doc | |
parent | 6640e4179dac14d81ae8ce8e3b8bb54209edb5d1 (diff) | |
parent | 4e1305ee7716b413e424850439607ba32fb24645 (diff) | |
download | redot-engine-1aeb7b9aa2ca13ec48bd66285e9bb10c66d2ac7b.tar.gz |
Merge pull request #90254 from Gamepro5/patch-1
Specify that `get_floor_normal()` does not return the surface normal
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/CharacterBody3D.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/CharacterBody3D.xml b/doc/classes/CharacterBody3D.xml index 2382c77a12..8b8b57decb 100644 --- a/doc/classes/CharacterBody3D.xml +++ b/doc/classes/CharacterBody3D.xml @@ -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"> |