planSettle()
pixi-wheels / index / planSettle
Function: planSettle()
function planSettle(
landingRotation: number,
centerRotation: number,
settle: Required<SettleConfig>,
direction: SpinDirection
): StopLeg[];
Defined in: spin/StopPlanner.ts:350
The legs a settle adds after landing. center glides the shortest way
to the section’s middle; bounce overshoots and springs back.
Parameters#
| Parameter | Type |
|---|---|
landingRotation | number |
centerRotation | number |
settle | Required<SettleConfig> |
direction | SpinDirection |
Returns#
StopLeg[]