Function PIDMovement.OffsetCornerForApproach

OffsetCornerForApproach (float2 position2D, float2 endOfPath2D, float2 facingDir2D, refPIDMovement settings, float2 nextCorner2D, ref float gammaAngle, ref float gammaAngleWeight, DebugFlags debugFlags, ref CommandBuilder draw, NativeArray<float2> edges)
Public Static
float2 OffsetCornerForApproach (

float2

position2D

float2

endOfPath2D

float2

facingDir2D

refPIDMovement

settings

float2

nextCorner2D

ref float

gammaAngle

ref float

gammaAngleWeight

DebugFlags

debugFlags

ref CommandBuilder

draw

NativeArray<float2>

edges

)