pixi-wheels

planSettle()

pixi-wheels


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#

ParameterType
landingRotationnumber
centerRotationnumber
settleRequired<SettleConfig>
directionSpinDirection

Returns#

StopLeg[]