Class MaxTurn Extends AdvancedSmooth.TurnConstructor
Public
Type of turn.
A* Pro Feature:
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited.
The Pro version can be bought here
Public Methods
GetPath
(turn, output)
Public
OnTangentUpdate
()
Public
PointToTangent
(turnList)
Public
Prepare
(i, vectorPath)
Public
TangentToPoint
(turnList)
Public
TangentToTangent
(turnList)
Public
Inherited Public Members
AddCircleSegment
(startAngle, endAngle, clockwise, center, output, radius)
Public
AngleToVector
(a)
Public
Atan2
(v)
Public
changedPreviousTangent
Public
Static
ClampAngle
(a)
Public
ClockwiseAngle
(from, to)
Returns the angle between from and to in a clockwise direction.
Public
constantBias
Constant bias to add to the path lengths.
Public
CounterClockwiseAngle
(from, to)
Returns the angle between from and to in a counter-clockwise direction.
Public
DebugCircle
(center, radius, color)
Public
DebugCircleSegment
(center, startAngle, endAngle, radius, color)
Public
factorBias
Bias to multiply the path lengths with.
Public
GetLengthFromAngle
(angle, radius)
Returns the length of an circular arc with a radius and angle.
Public
normal
Public
Static
PostPrepare
()
Public
Static
prev
Public
Static
Setup
(i, vectorPath)
Public
Static
t1
Public
Static
ThreeSixtyRadians
Public
ToDegrees
(rad)
Public
turningRadius
Public
Static
Private/Protected Members
alfaLeftLeft
Private
alfaLeftRight
Private
alfaRightLeft
Private
alfaRightRight
Private
betaLeftLeft
Private
betaLeftRight
Private
betaRightLeft
Private
betaRightRight
Private
deltaLeftRight
Private
deltaRightLeft
Private
gammaLeft
Private
gammaRight
Private
leftCircleCenter
Private
preLeftCircleCenter
Private
preRightCircleCenter
Private
preVaLeft
Private
preVaRight
Private
rightCircleCenter
Private
vaLeft
Private
vaRight
Private