C# Class CarControl, cs-sim-ai

Inheritance: MonoBehaviour
Exibir arquivo Open project: intel-cornellcup/sim-ai Class Usage Examples

Public Properties

Property Type Description
CurrGear int
GearRatio float[]
brakeTorque float
engineTorque float
manual bool
maxEngineRPM float
maxSpeed float
maxSteer float
minEngineRPM float
wayPointObject GameObject
wheels Transform[]

Public Methods

Method Description
AI_Update ( ) : void
FixedUpdate ( ) : void
Manual_Update ( ) : void
OnDrawGizmosSelected ( ) : void
Start ( ) : void

Private Methods

Method Description
GetCollider ( int n ) : WheelCollider
GoToWayPoint ( ) : void
InitialPathPlan ( ) : void
ShiftGears ( ) : void

Method Details

AI_Update() public method

public AI_Update ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Manual_Update() public method

public Manual_Update ( ) : void
return void

OnDrawGizmosSelected() public method

public OnDrawGizmosSelected ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

CurrGear public_oe property

public int CurrGear
return int

GearRatio public_oe property

public float[] GearRatio
return float[]

brakeTorque public_oe property

public float brakeTorque
return float

engineTorque public_oe property

public float engineTorque
return float

manual public_oe property

public bool manual
return bool

maxEngineRPM public_oe property

public float maxEngineRPM
return float

maxSpeed public_oe property

public float maxSpeed
return float

maxSteer public_oe property

public float maxSteer
return float

minEngineRPM public_oe property

public float minEngineRPM
return float

wayPointObject public_oe property

public GameObject wayPointObject
return GameObject

wheels public_oe property

public Transform[] wheels
return Transform[]