SwayChannel
Since 0.7
One spring-damped channel: where it is and how fast it moves.
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
| Member | Signature | Description |
|---|---|---|
x | x: number | Where the channel is: radians for pitch and roll, metres for bob. |
v | v: number | How fast it is moving, in the same units per second. |