ResolvedThrust

interface ResolvedThrust

What the engines produce for an input, in body axes.

linear is the sum the integrator applies; thrusters and drive are its two parts kept apart, because a picture of the hull has to know which engine is firing and the sum cannot say. Both are accelerations in m/s², and drive is unsigned: it only ever pushes ahead.

rigidBody.ts:177

Members

angularreadonly

angular: Vec3

drivereadonly

drive: number

The drive's share, as a magnitude along −Z.

linearreadonly

linear: Vec3

thrustersreadonly

thrusters: Vec3

The thrusters' share of linear, signed along the body axes.