Skip to content

PointDef beta ​

Interface of @v12-engine/client

ts
export interface PointDef

A place on a model, by its name in ModelDef.points: where a shot leaves from, where something is held, where code puts an effect (kit.point). On a node of the model, a bone mostly, it moves with the clips

Members ​

at ​

ts
at?: string;

The node of the model it is on, a bone mostly, by its name in the file. The model's origin, at its feet, when left out, or when the model is drawn without its nodes, as buildings are

offset ​

ts
offset?: [number, number, number];

How far from there, in the model's own units: turned with the bone, for one on a bone

scale ​

ts
scale?: number;

How big what is held at it is drawn, over its own size: 1 when left out

turn ​

ts
turn?: [number, number, number];

How it is turned from there, in radians about x, y and z: what is held at it (ModelDef.hold) turned with it, a sword made for one hand set right in another's