crashcat docs
    Preparing search index...

    Function moveKinematic

    • Moves a kinematic body towards a target position and rotation over the given delta time.

      Parameters

      • body: RigidBody

        the kinematic body to move

      • targetPosition: Vec3

        target world-space position

      • targetQuaternion: Quat

        target world-space quaternion

      • deltaTime: number

        time step over which to move the body

      Returns void