1681-engine / index / RigPose
Interface: RigPose ​
Defined in: src/rig/rigTypes.ts:13
A pose of the humanoid rig (a JSON object of bone angles). Every field is optional: a pose that leaves one out takes it from the pose it is laid over (a guard only moves the weapon arm, an attack keeps the running legs).
Properties ​
armB? ​
optional armB?: Limb;Defined in: src/rig/rigTypes.ts:17
armBFront? ​
optional armBFront?: boolean;Defined in: src/rig/rigTypes.ts:35
The far arm crosses in front of the body (drawing a bow with both hands).
armF? ​
optional armF?: Limb;Defined in: src/rig/rigTypes.ts:16
breathe? ​
optional breathe?: boolean;Defined in: src/rig/rigTypes.ts:32
Chest expansion and delayed cloth sway of the breathing cycle.
by? ​
optional by?: number;Defined in: src/rig/rigTypes.ts:15
Pixels the chest (torso, head, shoulders) sits below its rest height; negative rises.
curl? ​
optional curl?: [number, number];Defined in: src/rig/rigTypes.ts:39
Tumbling: the torso is a curled ball centred here (grid pixels) instead of standing.
face? ​
optional face?: Face;Defined in: src/rig/rigTypes.ts:26
headDx? ​
optional headDx?: number;Defined in: src/rig/rigTypes.ts:24
Offset of the head from the chest.
headDy? ​
optional headDy?: number;Defined in: src/rig/rigTypes.ts:25
hipDx? ​
optional hipDx?: number;Defined in: src/rig/rigTypes.ts:21
Offset of both hips from their rest place.
hipDy? ​
optional hipDy?: number;Defined in: src/rig/rigTypes.ts:22
legB? ​
optional legB?: Limb;Defined in: src/rig/rigTypes.ts:19
legF? ​
optional legF?: Limb;Defined in: src/rig/rigTypes.ts:18
lookBack? ​
optional lookBack?: boolean;Defined in: src/rig/rigTypes.ts:28
The head faces backwards.
smearArm? ​
optional smearArm?: Limb;Defined in: src/rig/rigTypes.ts:37
Arm the front arm just swept through, left as a translucent smear.
sway? ​
optional sway?: number;Defined in: src/rig/rigTypes.ts:33
trail? ​
optional trail?: number;Defined in: src/rig/rigTypes.ts:30
Pixels the cape and ponytail stream behind while running.