PhysicsDirectBodyState2D: add get_contact_local_velocity_at_position

This commit is contained in:
Ricardo Buring
2023-04-13 21:45:37 +02:00
parent 220953b625
commit aacb20437a
10 changed files with 37 additions and 11 deletions

View File

@@ -141,7 +141,7 @@
<return type="Vector2" />
<param index="0" name="contact_idx" type="int" />
<description>
Returns the linear velocity vector at the collider's contact point.
Returns the velocity vector at the collider's contact point.
</description>
</method>
<method name="get_contact_count" qualifiers="const">
@@ -179,6 +179,13 @@
Returns the local shape index of the collision.
</description>
</method>
<method name="get_contact_local_velocity_at_position" qualifiers="const">
<return type="Vector2" />
<param index="0" name="contact_idx" type="int" />
<description>
Returns the velocity vector at the body's contact point.
</description>
</method>
<method name="get_space_state">
<return type="PhysicsDirectSpaceState2D" />
<description>