Skip to content

five-on-it / packages/sim/src/flyers / flyerSystem

Function: flyerSystem() ​

flyerSystem(sim): void

Defined in: packages/sim/src/flyers.ts:211

One tick of every flyer, before the physics step (its body is moved to where it will be after it): one in the air comes round to the velocity and the height its input asks for, facing the way it goes; one shot down falls until it meets the scenery under it, and is a wreck from then on, lying still. A client's twins are placed by the snapshots instead.

Parameters ​

sim ​

SimWorld

Returns ​

void