diff options
author | fabriceci <fabricecipolla@gmail.com> | 2022-07-29 22:00:04 +0200 |
---|---|---|
committer | fabriceci <fabricecipolla@gmail.com> | 2022-08-24 18:03:12 +0200 |
commit | 3f9db7b398bd18248c486297ad8bdc7b38eed3ed (patch) | |
tree | b4ab9ba2dc658ddc1a808514f00e8a756d5b78ed /doc/classes | |
parent | 0626ce50cfd35d1eb81c6c9627f8540be9636b4b (diff) |
Adds a method to return the angular velocity of a platform
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/CharacterBody3D.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/classes/CharacterBody3D.xml b/doc/classes/CharacterBody3D.xml index 7efdeb19b1..22982a490a 100644 --- a/doc/classes/CharacterBody3D.xml +++ b/doc/classes/CharacterBody3D.xml @@ -41,10 +41,16 @@ Returns a [KinematicCollision3D], which contains information about the latest collision that occurred during the last call to [method move_and_slide]. </description> </method> + <method name="get_platform_angular_velocity" qualifiers="const"> + <return type="Vector3" /> + <description> + Returns the angular velocity of the platform at the last collision point. Only valid after calling [method move_and_slide]. + </description> + </method> <method name="get_platform_velocity" qualifiers="const"> <return type="Vector3" /> <description> - Returns the linear velocity 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 linear velocity of the platform at the last collision point. Only valid after calling [method move_and_slide]. </description> </method> <method name="get_position_delta" qualifiers="const"> |