Skip to content

rotateVec3ByQuat

rotateVec3ByQuat(rot, v): Vec3

Defined in: physics3d/ColliderShape3D.ts:64

Turn a vector by a rotation — what places an anchor, an axis or a wireframe vertex in the world. The maths is the math module’s; this is its name here.

Quat

Vec3

Vec3