Animation · interface

RootMotion

A root's displacement over an interval. Three floats and a quaternion, both caller-owned.

Explained in Animation.

interface RootMotion
import type { RootMotion } from '@driftengine/animation';

Properties

NameTypeDescription
translationreadonlyFloat32ArrayThree floats, in the root's frame at the earlier of the two times.
rotationreadonlyFloat32ArrayFour floats, xyzw, in the order gl-matrix uses.