Merge pull request #15643 from organicpencil/bullet_contact_impulse
Expose PhysicsDirectBodyState.get_contact_impulse
This commit is contained in:
commit
ef93fec789
7 changed files with 26 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue