Talos docs

WedgeOptions

Since 0.7

How {@link stepWedge} judges a wedge; every field has a default.

Plain text

Signature

export interface WedgeOptions {
  /** Pinned this long, s, is wedged. Default 1.5. */
  wedgedAfter?: number
  /** How long one back-out reverses, s. Default 1. */
  backOut?: number
  /** Back-outs that fail before it is stuck. Default 3. */
  maxTries?: number
  /** Below this speed, m/s, with the throttle held, it is going nowhere. Default 0.5. */
  pinnedSpeed?: number
  /**
   * Fewer metres than this along the road in `wedgedAfter` seconds of throttle is wedged too, however
   * fast it is moving: a kart scrubbing along a wall at 1 to 2 m/s, or circling on the spot. Default 1.
   */
  minProgress?: number
}

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

Members

MemberSignatureDescription
wedgedAfterwedgedAfter?: numberPinned this long, s, is wedged. Default 1.5.
backOutbackOut?: numberHow long one back-out reverses, s. Default 1.
maxTriesmaxTries?: numberBack-outs that fail before it is stuck. Default 3.
pinnedSpeedpinnedSpeed?: numberBelow this speed, m/s, with the throttle held, it is going nowhere. Default 0.5.
minProgressminProgress?: numberFewer metres than this along the road in wedgedAfter seconds of throttle is wedged too, however fast it is moving: a kart scrubbing along a wall at 1 to 2 m/s, or circling on the spot. Default 1.