Documentation
    Preparing search index...

    Function toRapierVector2

    • Writes a Vector3Input into a Rapier 2D vector, rejecting anything out of the XY plane (§21, §85).

      field names the offending property in the error, because "z must be 0" is useless without knowing whether it was a position, a velocity, or an anchor.

      Parameters

      Returns Vector