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

Inheritance: MonoBehaviour
Show file Open project: intel-cornellcup/mini-modbot-simulation Class Usage Examples

Public Properties

Property Type Description
CenterDis float
LeftDis float
RightDis float
angleRange float
carRadiusApprox float
centerObs bool
leftObs bool
rightObs bool

Public Methods

Method Description
Awake ( ) : void
OnTriggerStay ( Collider other ) : void
Update ( ) : void

Private Methods

Method Description
isObstacle ( string gameObjectTag ) : bool

Method Details

Awake() public method

public Awake ( ) : void
return void

OnTriggerStay() public method

public OnTriggerStay ( Collider other ) : void
other Collider
return void

Update() public method

public Update ( ) : void
return void

Property Details

CenterDis public property

public float CenterDis
return float

LeftDis public property

public float LeftDis
return float

RightDis public property

public float RightDis
return float

angleRange public property

public float angleRange
return float

carRadiusApprox public property

public float carRadiusApprox
return float

centerObs public property

public bool centerObs
return bool

leftObs public property

public bool leftObs
return bool

rightObs public property

public bool rightObs
return bool