Merge pull request #63650 from fabriceci/apply-moving-platform-angular-velocity

Allow to apply the angular velocity of a moving platform
This commit is contained in:
Rémi Verschelde
2023-01-03 12:39:35 +01:00
5 changed files with 20 additions and 1 deletions

View File

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