pose.set_posture
Overview
- Sets a per-character posture offset on the body emotion posture layer (hierarchical local-space bends: spine lean carries neck, head and arms). Independent of the global emotion motion switches. Visible on idle/walk base locomotion only (off during montages/slots/stat locomotion), SLOD0 only, not applied to elderly/infant/toddler. Omitted values are neutral; every call replaces the whole posture.
Metadata
| Field | Value |
|---|---|
| Display | Set Posture Offset |
| Category | pose |
| Access | ScriptCheat |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| entity_id | entityId | no | — | Target entity ID (default: possessed) |
| spine_lean | float | no | — | Spine forward lean (deg, +forward, clamp 45) |
| spine_tilt | float | no | — | Spine side tilt (deg, +right, clamp 30) |
| spine_twist | float | no | — | Spine twist (deg, +right, clamp 30) |
| neck_lean | float | no | — | Neck forward lean (deg, clamp 40) |
| head_nod | float | no | — | Head nod (deg, +down, clamp 45) |
| head_tilt | float | no | — | Head side tilt (deg, +right, clamp 35) |
| shoulder_raise | float | no | — | Both clavicles raise (+) / droop (-) (deg, clamp 30) |
| shoulder_forward | float | no | — | Both clavicles roll forward (deg, clamp 30) |
| shoulder_raise_l | float | no | — | Extra left clavicle raise/droop (deg) |
| shoulder_raise_r | float | no | — | Extra right clavicle raise/droop (deg) |
| arm_forward | float | no | — | Both upper arms forward (deg, clamp 60) |
| arm_out | float | no | — | Both upper arms out (+) / in (-) (deg, clamp 45) |
| arm_forward_l | float | no | — | Extra left upper arm forward (deg) |
| arm_forward_r | float | no | — | Extra right upper arm forward (deg) |
| elbow | float | no | — | Elbow bend (deg, -30..90) |
| arm_bias | float | no | — | Walk-only upper arm swing centre bias (deg, +forward) |
| arm_swing | float | no | 1 | Walk arm swing scale (1 = stock, 0 = stiff, 0..2) |
| arm_swing_l | float | no | 1 | Left arm swing multiplier (0..2) |
| arm_swing_r | float | no | 1 | Right arm swing multiplier (0..2) |
| lean_lower | float | no | 1 | Forward lean share of the lower spine (0..3, default 1) |
| lean_upper | float | no | 1 | Forward lean share of the upper spine (0..3, default 1) |
| head_follow | float | no | 0 | How much the head follows the spine lean instead of keeping its gaze (0..1, default 0) |
Returns
- Return shape is not declared for this command.
Usage
await inzoi.cli.execute('pose.set_posture', {
entity_id: 0, // optional
spine_lean: 0.0, // optional
spine_tilt: 0.0, // optional
spine_twist: 0.0, // optional
neck_lean: 0.0, // optional
head_nod: 0.0, // optional
head_tilt: 0.0, // optional
shoulder_raise: 0.0, // optional
shoulder_forward: 0.0, // optional
shoulder_raise_l: 0.0, // optional
shoulder_raise_r: 0.0, // optional
arm_forward: 0.0, // optional
arm_out: 0.0, // optional
arm_forward_l: 0.0, // optional
arm_forward_r: 0.0, // optional
elbow: 0.0, // optional
arm_bias: 0.0, // optional
arm_swing: 1, // optional
arm_swing_l: 1, // optional
arm_swing_r: 1, // optional
lean_lower: 1, // optional
lean_upper: 1, // optional
head_follow: 0, // optional
});