summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLily Garcia <staticdroidpop@gmail.com>2023-01-07 22:34:28 -0500
committerLily Garcia <staticdroidpop@gmail.com>2023-01-07 22:34:28 -0500
commit8ee6264cc914fe1d007faf440fe4fda28b567cc6 (patch)
treefc2d532227f6100da1752dce2ad311d183302e42 /doc
parente780dc332a0a3f642a6daf8548cb211d79a2cc45 (diff)
Implement collision impulse in Godot Physics 3D
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/PhysicsDirectBodyState3D.xml4
-rw-r--r--doc/classes/PhysicsDirectBodyState3DExtension.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/PhysicsDirectBodyState3D.xml b/doc/classes/PhysicsDirectBodyState3D.xml
index a809384642..edd219e66e 100644
--- a/doc/classes/PhysicsDirectBodyState3D.xml
+++ b/doc/classes/PhysicsDirectBodyState3D.xml
@@ -152,10 +152,10 @@
</description>
</method>
<method name="get_contact_impulse" qualifiers="const">
- <return type="float" />
+ <return type="Vector3" />
<param index="0" name="contact_idx" type="int" />
<description>
- Impulse created by the contact. Only implemented for Bullet physics.
+ Impulse created by the contact.
</description>
</method>
<method name="get_contact_local_normal" qualifiers="const">
diff --git a/doc/classes/PhysicsDirectBodyState3DExtension.xml b/doc/classes/PhysicsDirectBodyState3DExtension.xml
index 4432f89b9d..35cf4d4dd5 100644
--- a/doc/classes/PhysicsDirectBodyState3DExtension.xml
+++ b/doc/classes/PhysicsDirectBodyState3DExtension.xml
@@ -131,7 +131,7 @@
</description>
</method>
<method name="_get_contact_impulse" qualifiers="virtual const">
- <return type="float" />
+ <return type="Vector3" />
<param index="0" name="contact_idx" type="int" />
<description>
</description>