FrameAccel
Since 0.7
The carrier's acceleration along its own axes, m/s²: forward (its -Z), right (+X), up (+Y).
Signature
export interface FrameAccel {
/** Along the carrier's forward (its -Z): positive as it speeds up, negative as it brakes. */
forward: number
/** Along its right (+X): positive in a right-hand turn. */
right: number
/** Along its up (+Y): positive as it lands or is pushed up, negative as it drops away. */
up: number
}
Import: import type { FrameAccel } from "@argus/gameplay"
Members
| Member | Signature | Description |
|---|---|---|
forward | forward: number | Along the carrier's forward (its -Z): positive as it speeds up, negative as it brakes. |
right | right: number | Along its right (+X): positive in a right-hand turn. |
up | up: number | Along its up (+Y): positive as it lands or is pushed up, negative as it drops away. |