Merge pull request #76088 from rburing/contact_points_global_3d

PhysicsDirectBodyState3D: report contact points using global coordinates
This commit is contained in:
Rémi Verschelde
2023-05-10 09:09:17 +02:00
committed by GitHub
3 changed files with 8 additions and 8 deletions

View File

@@ -127,7 +127,7 @@
<return type="Vector2" />
<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="Vector2" />
<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">