KinematicBody2D.motionSyncToPhysics

If true, 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 not use together with moveAndSlide or moveAndCollide functions.

  1. bool motionSyncToPhysics [@property getter]
    struct KinematicBody2D
    @nogc nothrow @property
    bool
    motionSyncToPhysics
    ()
  2. bool motionSyncToPhysics [@property setter]

Meta