iRDS - Intelligent Race Driver System  V 2.1.0.5
 All Classes Namespaces Functions Variables Properties Events
IRDSNavigateTWaypoints Class Reference
Inheritance diagram for IRDSNavigateTWaypoints:

Public Member Functions

void Initialize ()
 Initialize this instance. This would reset this instance by runnning the Awake and Start methods. More...
 
bool SwitchTrack (int trackToNumber, bool returningFromSubtrack, int wpNumber)
 Switchs the track. More...
 

Public Attributes

int currentWaypointsForSpeed
 The current waypoints for speed. More...
 
int lastWaypointsForSpeed
 The last waypoints for speed. More...
 
int currentTrack = 0
 The current track. More...
 
int nextTrack = 0
 The next track. More...
 
List< int > nextTrackPath = new List<int>()
 The next track path. More...
 
List< Transform > waypoints
 The waypoints. More...
 
List< Transform > waypointsRight
 The waypoints right. More...
 
List< Transform > waypointsLeft
 The waypoints left. More...
 
float[] SegmentDistanceFromStart
 The segment distance from start. More...
 
int[] managerCurrentWaypointLeft
 The manager current waypoint left. More...
 
int[] managerCurrentWaypointRight
 The manager current waypoint right. More...
 
float[] radius
 The radius. More...
 
float[] radiusHill
 The radius hill. More...
 
float[] bankedAngle
 The banked angle. More...
 
Vector3 RelativeWaypointPositionPrevious
 The relative waypoint position previous. More...
 
float clampOffsetL = 0f
 The clamp offset l. More...
 
float clampOffsetR = 0f
 The clamp offset r. More...
 
float lapCounterWidth = 50
 The width of the lap counter. More...
 
bool onPits = false
 The on pits. More...
 
bool countedLapOnPits = false
 The counted lap on pits. More...
 

Member Function Documentation

void IRDSNavigateTWaypoints.Initialize ( )

Initialize this instance. This would reset this instance by runnning the Awake and Start methods.

bool IRDSNavigateTWaypoints.SwitchTrack ( int  trackToNumber,
bool  returningFromSubtrack,
int  wpNumber 
)

Switchs the track.

Returns
true, if track was switched, false otherwise.
Parameters
trackToNumberTrack to to switch number.
returningFromSubtrackIf set to true returning from subtrack.
wpNumberWp number.

Member Data Documentation

float [] IRDSNavigateTWaypoints.bankedAngle

The banked angle.

float IRDSNavigateTWaypoints.clampOffsetL = 0f

The clamp offset l.

float IRDSNavigateTWaypoints.clampOffsetR = 0f

The clamp offset r.

bool IRDSNavigateTWaypoints.countedLapOnPits = false

The counted lap on pits.

int IRDSNavigateTWaypoints.currentTrack = 0

The current track.

int IRDSNavigateTWaypoints.currentWaypointsForSpeed

The current waypoints for speed.

float IRDSNavigateTWaypoints.lapCounterWidth = 50

The width of the lap counter.

int IRDSNavigateTWaypoints.lastWaypointsForSpeed

The last waypoints for speed.

int [] IRDSNavigateTWaypoints.managerCurrentWaypointLeft

The manager current waypoint left.

int [] IRDSNavigateTWaypoints.managerCurrentWaypointRight

The manager current waypoint right.

int IRDSNavigateTWaypoints.nextTrack = 0

The next track.

List<int> IRDSNavigateTWaypoints.nextTrackPath = new List<int>()

The next track path.

bool IRDSNavigateTWaypoints.onPits = false

The on pits.

float [] IRDSNavigateTWaypoints.radius

The radius.

float [] IRDSNavigateTWaypoints.radiusHill

The radius hill.

Vector3 IRDSNavigateTWaypoints.RelativeWaypointPositionPrevious

The relative waypoint position previous.

float [] IRDSNavigateTWaypoints.SegmentDistanceFromStart

The segment distance from start.

List<Transform> IRDSNavigateTWaypoints.waypoints

The waypoints.

List<Transform> IRDSNavigateTWaypoints.waypointsLeft

The waypoints left.

List<Transform> IRDSNavigateTWaypoints.waypointsRight

The waypoints right.