summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-04 18:16:02 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-07-15 10:15:13 -0700
commit7f9212795955dd3be741b04c6442db51bb9f4612 (patch)
tree496eefc260cb58a53d915b45e9800c30bccf33c1 /doc
parent9427bf38427da6366118bfd21fbb2f064bc5719d (diff)
Support for 3D sync to physics
Same implementation as in 2D.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/StaticBody3D.xml3
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>