Skip to main content

Quaternion

A utility identical to THREE.Quaternion so you don't have to BYO.

See three.js docs for more info.

import { Quaternion } from "hyperfy";

const quat = new Quaternion().fromArray([0, 0, 0, 1]);