Merge pull request #15643 from organicpencil/bullet_contact_impulse

Expose PhysicsDirectBodyState.get_contact_impulse
This commit is contained in:
Rémi Verschelde
2018-07-26 15:36:37 +02:00
committed by GitHub
7 changed files with 26 additions and 4 deletions
+9
View File
@@ -115,6 +115,15 @@
<description>
</description>
</method>
<method name="get_contact_impulse" qualifiers="const">
<return type="float">
</return>
<argument index="0" name="contact_idx" type="int">
</argument>
<description>
Impulse created by the contact. Only implemented for Bullet physics.
</description>
</method>
<method name="get_contact_local_normal" qualifiers="const">
<return type="Vector3">
</return>