C# Class UnityStandardAssets.Vehicles.Car.CarController

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: Stumpstump/RoverGame Class Usage Examples

Public Methods

Method Description
Move ( float steering, float accel, float footbrake, float handbrake ) : void

Private Methods

Method Description
AddDownForce ( ) : void
AdjustTorque ( float forwardSlip ) : void
AnySkidSoundPlaying ( ) : bool
ApplyDrive ( float accel, float footbrake ) : void
CalculateGearFactor ( ) : void
CalculateRevs ( ) : void
CapSpeed ( ) : void
CheckForWheelSpin ( ) : void
CurveFactor ( float factor ) : float
GearChanging ( ) : void
Start ( ) : void
SteerHelper ( ) : void
TractionControl ( ) : void
ULerp ( float from, float to, float value ) : float

Method Details

Move() public method

public Move ( float steering, float accel, float footbrake, float handbrake ) : void
steering float
accel float
footbrake float
handbrake float
return void