summaryrefslogtreecommitdiffstats
path: root/doc/classes/PhysicsDirectBodyState.xml
diff options
context:
space:
mode:
authorLee Pugh <lpugh@protonmail.com>2018-01-12 15:27:45 -0600
committerLee Pugh <lpugh@protonmail.com>2018-01-12 15:27:45 -0600
commitac26bf0fb45a800168d4571da370e928979dd6e0 (patch)
tree8ae2cf5f0bb58368b92362e334f7f3cd55658056 /doc/classes/PhysicsDirectBodyState.xml
parent702e28f2657b3b0f50c1e118caf207c0a438f8f1 (diff)
downloadredot-engine-ac26bf0fb45a800168d4571da370e928979dd6e0.tar.gz
Expose PhysicsDirectBodyState.get_contact_impulse
Diffstat (limited to 'doc/classes/PhysicsDirectBodyState.xml')
-rw-r--r--doc/classes/PhysicsDirectBodyState.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/PhysicsDirectBodyState.xml b/doc/classes/PhysicsDirectBodyState.xml
index 486804f196..aa2970b000 100644
--- a/doc/classes/PhysicsDirectBodyState.xml
+++ b/doc/classes/PhysicsDirectBodyState.xml
@@ -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>