Class TurnConstructor

Public Abstract

Abstract turn constructor.

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

AddCircleSegment (startAngle, endAngle, clockwise, center, output, radius)
Atan2 (v)
ClockwiseAngle (from, to)

Returns the angle between from and to in a clockwise direction.

Returns the angle between from and to in a counter-clockwise direction.

DebugCircle (center, radius, color)
DebugCircleSegment (center, startAngle, endAngle, radius, color)
GetLengthFromAngle (angle, radius)

Returns the length of an circular arc with a radius and angle.

GetPath (turn, output)
PointToTangent (turnList)
Prepare (i, vectorPath)
TangentToPoint (turnList)
TangentToTangent (turnList)
ToDegrees (rad)

Public Static Methods

Setup (i, vectorPath)

Public Variables

constantBias

Constant bias to add to the path lengths.

Public
factorBias

Bias to multiply the path lengths with.

Public

Public Static Variables

ThreeSixtyRadians
Public Static
changedPreviousTangent
Public Static
normal
Public Static
prev
Public Static
t1
Public Static
turningRadius
Public Static

Private/Protected Members

current
Private Static
next
Private Static
prevNormal
Private Static
t2
Private Static