Expose PhysicsDirectBodyState.get_contact_impulse

This commit is contained in:
Lee Pugh
2018-01-12 15:27:45 -06:00
parent 702e28f265
commit ac26bf0fb4
7 changed files with 26 additions and 4 deletions

View File

@@ -91,6 +91,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>