Animation · interface
RootMotion
A root's displacement over an interval. Three floats and a quaternion, both caller-owned.
Explained in Animation.
interface RootMotionimport type { RootMotion } from '@driftengine/animation';Properties
| Name | Type | Description |
|---|---|---|
translationreadonly | Float32Array | Three floats, in the root's frame at the earlier of the two times. |
rotationreadonly | Float32Array | Four floats, xyzw, in the order gl-matrix uses. |