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]
  2. bool motionSyncToPhysics [@property setter]
    struct KinematicBody2D
    @nogc nothrow @property
    void
    motionSyncToPhysics
    (
    bool v
    )

Meta