mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Resolved issues with script PhysicsDirectBodyState3d contacts
Resolved a problem with PhysicsDirectBodyState3D sometimes returning incorrect contact positions and added a new get_contact_local_velocity_at_position method to compliment the existing one for the collider.
This commit is contained in:
parent
c3ed7af123
commit
fffc6aba58
10 changed files with 40 additions and 11 deletions
|
|
@ -154,6 +154,12 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_contact_local_velocity_at_position" qualifiers="virtual const">
|
||||
<return type="Vector3" />
|
||||
<param index="0" name="contact_idx" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_inverse_inertia" qualifiers="virtual const">
|
||||
<return type="Vector3" />
|
||||
<description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue