Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

HeadTurn

How far a character’s head and spine turn to what it watches: degrees, and the share and rate that reach them.

Property Type Description
fadeDegrees number Degrees of gaze the turn fades away over as the camera crosses behind the character, ending at 180.
followLook boolean Whether the character the page steers watches where its player looks, an aimAt point winning, while the page’s camera follows it, with its spine taking spineShare of the gaze. Off, every character watches what its view set: the player’s camera.
pitchLimit number Smaller than the yaw, because a head tips less than it turns.
response number A MathUtils.damp lambda per second.
share number Of the gaze angle the character’s head takes; the character’s eyes cover what is left.
spineShare number Of the gaze’s yaw the character’s spine takes before the head, spread over the spine bones the body has, so the head leads and the chest follows a little.
spineYawLimit number Degrees either way the spine turns at most.
yawLimit number Degrees either way of the clip’s own head pose.