diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-07-26 15:36:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 15:36:37 +0200 |
commit | ef93fec789b20ffb244b23bbfa33a09556d675b0 (patch) | |
tree | 98f5ff7733490369b879bd10cc173511795f62ae /doc | |
parent | 96d37769d90ed9aa52eb23e7672962049d31dfd8 (diff) | |
parent | ac26bf0fb45a800168d4571da370e928979dd6e0 (diff) |
Merge pull request #15643 from organicpencil/bullet_contact_impulse
Expose PhysicsDirectBodyState.get_contact_impulse
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/PhysicsDirectBodyState.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/PhysicsDirectBodyState.xml b/doc/classes/PhysicsDirectBodyState.xml index 64b2900f73..5117c9ef6c 100644 --- a/doc/classes/PhysicsDirectBodyState.xml +++ b/doc/classes/PhysicsDirectBodyState.xml @@ -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> |