Skip to content

steerMissile beta ​

Function of @v12-engine/engine

ts
export declare function steerMissile(world: World, missile: Missile, point: Vec2): boolean;

Turns a missile that is steered (EffectFields.steer) towards a point, as its owner's steer command does: it turns that way as it flies, as fast as its rate lets it. False for one that is not steered, or not in the world