locomotion beta
Function of @v12-engine/client
ts
export declare function locomotion(clips: LocomotionClips): NonNullable<UnitLook['loop']>;A character's walks, runs and idles chosen as it moves (UnitLook.loop): forwards, backwards or to a side as it goes against the way it faces, a run past runFrom, its idles in turn. Each of its units its own turn of idles
ts
loop: locomotion({ walk: { forward: 'walk', back: 'walk_back', left: 'strafe_left', right: 'strafe_right' }, idle: ['idle', 'idle_2'] })