summaryrefslogtreecommitdiff
path: root/doc/classes/PhysicsDirectBodyState2DExtension.xml
diff options
context:
space:
mode:
authorRicardo Buring <ricardo.buring@gmail.com>2023-01-10 23:28:02 +0100
committerRicardo Buring <ricardo.buring@gmail.com>2023-01-10 23:28:02 +0100
commit3efa10554824d2e3af797061b04e0653cd463292 (patch)
treeda42b7aec8dc1e401d7efa2ce7c4b4093cc086a5 /doc/classes/PhysicsDirectBodyState2DExtension.xml
parent91713ced81792b10fdc9367b7f355738e5d52777 (diff)
Add get_contact_impulse method to PhysicsDirectBodyState2D
This makes it consistent with 3D.
Diffstat (limited to 'doc/classes/PhysicsDirectBodyState2DExtension.xml')
-rw-r--r--doc/classes/PhysicsDirectBodyState2DExtension.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/PhysicsDirectBodyState2DExtension.xml b/doc/classes/PhysicsDirectBodyState2DExtension.xml
index 8fd34c1243..496cbf9136 100644
--- a/doc/classes/PhysicsDirectBodyState2DExtension.xml
+++ b/doc/classes/PhysicsDirectBodyState2DExtension.xml
@@ -130,6 +130,12 @@
<description>
</description>
</method>
+ <method name="_get_contact_impulse" qualifiers="virtual const">
+ <return type="Vector2" />
+ <param index="0" name="contact_idx" type="int" />
+ <description>
+ </description>
+ </method>
<method name="_get_contact_local_normal" qualifiers="virtual const">
<return type="Vector2" />
<param index="0" name="contact_idx" type="int" />