balance

A physical body under the animation (characters): its centre of mass sways on a spring over its feet. Pushes and bumps sway it (the trunk tips, the hips follow); a push that would carry it past its feet makes it take a recovery step; two characters with balance that walk into each other meet at the shoulders, are pushed apart (never through each other) and both sway. Scripts push with self.push([x, y, z]) (m/s) or self.pushAside(other) (hands on the other's near shoulder, then a shove away). Only what differs from the defaults is written: balance { }.

In scene text

balance { mass 1  firmness 1  bumps true }

Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.

Fields 3

FieldTypeUnit / rangeWhat it does
massnumberkg, 10 … 300Who gives way when two bodies meet, and how far a push carries.
firmnessnumber0.2 … 4How firmly it stands: 1 an everyday adult, 0.5 unsteady (sways further, steps sooner), 2 braced.
bumpstrue / false—Meets other characters with balance at the shoulders instead of passing through them.
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us
Download Arcwright free