ixfx
    Preparing search index...

    Function orientationForce

    • A force that orients things according to direction of travel.

      Under the hood, it applies:

      • angularForce,
      • angleFromAccelerationForce, and
      • angleFromVelocityForce

      Parameters

      • interpolationAmt: number = 0.5

      Returns ForceFn