Support for 3D sync to physics
Same implementation as in 2D.
This commit is contained in:
@ -32,6 +32,9 @@
|
||||
The physics material override for the body.
|
||||
If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one.
|
||||
</member>
|
||||
<member name="sync_to_physics" type="bool" setter="set_sync_to_physics" getter="is_sync_to_physics_enabled" default="false">
|
||||
If [code]true[/code] and [member kinematic_motion] is enabled, the body's movement will be synchronized to the physics frame. This is useful when animating movement via [AnimationPlayer], for example on moving platforms. Do [b]not[/b] use together with [method PhysicsBody3D.move_and_collide].
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
|
||||
Reference in New Issue
Block a user