C# Class Movement, cs-mini-modbot-simulation

Inheritance: MonoBehaviour
ファイルを表示 Open project: intel-cornellcup/mini-modbot-simulation Class Usage Examples

Public Properties

Property Type Description
ACCEL float
MAX_SPEED float
boost float
isAI bool
kartNum int
studder float
writePositionsToFile bool

Public Methods

Method Description
OnDrawGizmosSelected ( ) : void

Draws the current waypoints for an AI car

getWheelOrien ( ) : float
isArtificialIntelligence ( ) : bool

Returns whether the car is an AI car or a player controlled car

isForward ( ) : bool

Private Methods

Method Description
FixedUpdate ( ) : void

Update is called once per frame

Start ( ) : void

Use this for initialization

WriteToRepo ( ) : void

Method Details

OnDrawGizmosSelected() public method

Draws the current waypoints for an AI car
public OnDrawGizmosSelected ( ) : void
return void

getWheelOrien() public method

public getWheelOrien ( ) : float
return float

isArtificialIntelligence() public method

Returns whether the car is an AI car or a player controlled car
public isArtificialIntelligence ( ) : bool
return bool

isForward() public method

public isForward ( ) : bool
return bool

Property Details

ACCEL public_oe static_oe property

public static float ACCEL
return float

MAX_SPEED public_oe property

public float MAX_SPEED
return float

boost public_oe property

public float boost
return float

isAI public_oe property

public bool isAI
return bool

kartNum public_oe property

public int kartNum
return int

studder public_oe property

public float studder
return float

writePositionsToFile public_oe property

public bool writePositionsToFile
return bool