Resolved issues with script PhysicsDirectBodyState3d contacts

Resolved a problem with PhysicsDirectBodyState3D sometimes returning incorrect contact positions and added a new get_contact_local_velocity_at_position method to compliment the existing one for the collider.
This commit is contained in:
Tim Gift 2022-03-07 10:07:46 -08:00
parent c3ed7af123
commit fffc6aba58
10 changed files with 40 additions and 11 deletions

View file

@ -154,6 +154,12 @@
<description>
</description>
</method>
<method name="_get_contact_local_velocity_at_position" qualifiers="virtual const">
<return type="Vector3" />
<param index="0" name="contact_idx" type="int" />
<description>
</description>
</method>
<method name="_get_inverse_inertia" qualifiers="virtual const">
<return type="Vector3" />
<description>