Talos docs

FrameAccel

Since 0.7

The carrier's acceleration along its own axes, m/s²: forward (its -Z), right (+X), up (+Y).

Plain text

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

MemberSignatureDescription
forwardforward: numberAlong the carrier's forward (its -Z): positive as it speeds up, negative as it brakes.
rightright: numberAlong its right (+X): positive in a right-hand turn.
upup: numberAlong its up (+Y): positive as it lands or is pushed up, negative as it drops away.