Checkpoint Class Reference

Track checkpoint. More...

List of all members.

Public Member Functions

void Awake ()
 Initialise.
void Start ()
 Calculates distances.
void OnDrawGizmosSelected ()
 Scene editor UI.
void OnTriggerEnter (Collider collider)
 Triggered when a competitor hits this checkpoint.
float ApproximateCircuitPosition (Vector3 p)
 Returns a value between 0 and 1 indicating the position around the track (based on checkpoint locations).

Public Attributes

Checkpoint next
 The next checkpoint in the sequence.

Detailed Description

Track checkpoint.


Member Function Documentation

float Checkpoint.ApproximateCircuitPosition ( Vector3  p  ) 

Returns a value between 0 and 1 indicating the position around the track (based on checkpoint locations).

void Checkpoint.Awake (  ) 

Initialise.

void Checkpoint.OnDrawGizmosSelected (  ) 

Scene editor UI.

void Checkpoint.OnTriggerEnter ( Collider  collider  ) 

Triggered when a competitor hits this checkpoint.

void Checkpoint.Start (  ) 

Calculates distances.


Member Data Documentation

The next checkpoint in the sequence.


The documentation for this class was generated from the following file:

Generated on Fri Aug 21 09:09:57 2009 for Hamlington Underground Racing Association by  doxygen 1.6.0