C# Class MLAgents.TargetContact

Inheritance: MonoBehaviour
Show file Open project: grantgasser/autonomous-vehicles-mlagents-unity

Public Methods

Method Description
OnCollisionEnter ( Collision col ) : void

Check for collision with a target.

OnCollisionExit ( Collision other ) : void

Check for end of ground collision and reset flag appropriately.

Method Details

OnCollisionEnter() public method

Check for collision with a target.
public OnCollisionEnter ( Collision col ) : void
col Collision
return void

OnCollisionExit() public method

Check for end of ground collision and reset flag appropriately.
public OnCollisionExit ( Collision other ) : void
other Collision
return void