Skip to content

AimPiece beta ​

TypeAlias of @v12-engine/engine

ts
export type AimPiece = AimShape & {
    at: Vec2;
    heading?: number;
};

A piece of what an indicator draws (Targeting.indicator): a shape (AimShape) at a place on the ground, turned to heading (radians, 0 the way of +z) for one that points somewhere (a line, a cone, an arc)