PhysicsDirectBodyState3D: report contact points using global coordinates

Also update the documentation to reflect this in both 2D and 3D.
This commit is contained in:
Ricardo Buring
2023-04-15 14:29:01 +02:00
parent a7276f1ce0
commit 15b8cb9d9c
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -127,7 +127,7 @@
<return type="Vector3" />
<param index="0" name="contact_idx" type="int" />
<description>
Returns the contact position in the collider.
Returns the position of the contact point on the collider in the global coordinate system.
</description>
</method>
<method name="get_contact_collider_shape" qualifiers="const">
@@ -169,7 +169,7 @@
<return type="Vector3" />
<param index="0" name="contact_idx" type="int" />
<description>
Returns the local position of the contact point.
Returns the position of the contact point on the body in the global coordinate system.
</description>
</method>
<method name="get_contact_local_shape" qualifiers="const">