diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-15 23:18:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 23:18:59 +0200 |
commit | 60add98a4cff0d27c6aa2f52042555eccb86ed70 (patch) | |
tree | fa9bf87f60bef4d5676c207086c6737a50c91b71 /doc | |
parent | 7aa44bef1ebef91bcb1c728e39007d8f5bf276ff (diff) | |
parent | 7f9212795955dd3be741b04c6442db51bb9f4612 (diff) |
Merge pull request #49328 from nekomatata/sync-to-physics-3d
Support for 3D sync to physics
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/StaticBody3D.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/StaticBody3D.xml b/doc/classes/StaticBody3D.xml index f83d440f10..69c123002f 100644 --- a/doc/classes/StaticBody3D.xml +++ b/doc/classes/StaticBody3D.xml @@ -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> |