Talos docs

SwayChannel

Since 0.7

One spring-damped channel: where it is and how fast it moves.

Plain text

Signature

export interface SwayChannel {
  /** Where the channel is: radians for pitch and roll, metres for bob. */
  x: number
  /** How fast it is moving, in the same units per second. */
  v: number
}

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

Members

MemberSignatureDescription
xx: numberWhere the channel is: radians for pitch and roll, metres for bob.
vv: numberHow fast it is moving, in the same units per second.