Skip to content

MotionLook beta ​

Interface of @v12-engine/client

ts
export interface MotionLook

How a unit moves besides its clips, as the client moves it (UnitLook.motion): each as much as it says, 0 for none, today's when left out

Members ​

bob ​

ts
bob?: number;

How far up and down what flies bobs: 0.12 when left out

climb ​

ts
climb?: number;

How fast what flies is pulled down, or lets itself up again, in units a second: 7 when left out

construction ​

ts
construction?: 'grow' | 'reveal' | 'none' | ((progress: number, place: Placement) => void);

How a building going up shows: growing up out of the ground (grow, when left out), from the ground up behind a glowing edge (reveal), as it will stand (none), or the game's own, given how far along it is (0 to 1) and where it stands (Placement, written in place)

grounded ​

ts
grounded?: number;

How high over the ground what flies is held while something pulls it down: 0.35 when left out

lunge ​

ts
lunge?: number;

How far a melee attacker lunges at its target: 0.3 when left out

rise ​

ts
rise?: number;

Seconds what was knocked down takes to get up: 1.1 when left out

rock ​

ts
rock?: number;

How far a boat rocks on the water: 0.06 when left out

roll ​

ts
roll?: number;

How far what is thrown into the air rolls and tips, a part of today's: 1 when left out

thrown ​

ts
thrown?: number;

How high what is thrown into the air (knocked up) gets: 1.9 when left out