WedgeOptions
Since 0.7
How {@link stepWedge} judges a wedge; every field has a default.
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
| Member | Signature | Description |
|---|---|---|
wedgedAfter | wedgedAfter?: number | Pinned this long, s, is wedged. Default 1.5. |
backOut | backOut?: number | How long one back-out reverses, s. Default 1. |
maxTries | maxTries?: number | Back-outs that fail before it is stuck. Default 3. |
pinnedSpeed | pinnedSpeed?: number | Below this speed, m/s, with the throttle held, it is going nowhere. Default 0.5. |
minProgress | minProgress?: 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. |