SwayPose
Since 0.7
The three channels: radians of pitch (nose up positive), radians of roll, metres of bob (up positive).
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
| Member | Signature | Description |
|---|---|---|
pitch | pitch: SwayChannel | Radians about the carrier's +X; positive lifts the nose (its -Z). |
roll | roll: SwayChannel | Radians about the carrier's +Z; positive tips the top toward its -X. |
bob | bob: SwayChannel | Metres along the carrier's +Y; positive is up. |