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
commit ef93fec789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 4 deletions

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>