Talos docs

SwayPose

Since 0.7

The three channels: radians of pitch (nose up positive), radians of roll, metres of bob (up positive).

Plain text

Signature

export interface SwayPose {
  /** Radians about the carrier's +X; positive lifts the nose (its -Z). */
  pitch: SwayChannel
  /** Radians about the carrier's +Z; positive tips the top toward its -X. */
  roll: SwayChannel
  /** Metres along the carrier's +Y; positive is up. */
  bob: SwayChannel
}

Import: import type { SwayPose } from "@argus/gameplay"

Members

MemberSignatureDescription
pitchpitch: SwayChannelRadians about the carrier's +X; positive lifts the nose (its -Z).
rollroll: SwayChannelRadians about the carrier's +Z; positive tips the top toward its -X.
bobbob: SwayChannelMetres along the carrier's +Y; positive is up.