Talos docs

SwayKick

Since 0.7

A shove to the springs: how fast each channel is set moving, on top of whatever it was doing.

Plain text

Signature

export interface SwayKick {
  /** Radians per second of pitch; positive lifts the nose. */
  pitch?: number
  /** Radians per second of roll; positive tips the top toward the carrier's -X. */
  roll?: number
  /** Metres per second of bob; positive is up. */
  bob?: number
}

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

Members

MemberSignatureDescription
pitchpitch?: numberRadians per second of pitch; positive lifts the nose.
rollroll?: numberRadians per second of roll; positive tips the top toward the carrier's -X.
bobbob?: numberMetres per second of bob; positive is up.