Function 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.

bool motionSyncToPhysics() nothrow @property @nogc;

void motionSyncToPhysics (
  bool v
) nothrow @property @nogc;