Documentation
    Preparing search index...

    Function toRapierAngularScalar

    • Converts an AngularVelocityInput — or a torque, or an angular impulse, all of which are Z-axis scalars in a plane — to Rapier's scalar form (§21, §23, §26).

      A Vector3 must lie on the Z axis; resolveAngularVelocity enforces that and the finiteness of the scalar form.

      Parameters

      Returns number