Documentation
    Preparing search index...

    Function toRapierVector3

    • Writes a Vector3Input into a Rapier 3D vector, widening a Vector2 to z = 0 (§21).

      Unlike its 2D counterpart there is no plane to violate, so the only rejection is non-finiteness (§85). field names the offending property in the error, because "must be finite" is useless without knowing whether it was a position, a velocity, or an anchor.

      Parameters

      Returns RapierVector3