Animation · function
setJoint
Write one joint's transform straight into a pose.
Explained in Animation.
function setJoint(pose: Pose, joint: number, translation: ArrayLike<number>, rotation: ArrayLike<number>, scale: ArrayLike<number>): voidimport { setJoint } from '@driftengine/animation';Parameters
| Parameter | Type | Description |
|---|---|---|
pose | Pose | |
joint | number | |
translation | ArrayLike<number> | |
rotation | ArrayLike<number> | |
scale | ArrayLike<number> |
In depth
What a solver drives. Track B's ragdolls need a pose to be data rather than only the result of sampling, and this is the whole of that requirement — stated here so the seam exists before the track that needs it, rather than being retrofitted around a closed type.