C# Class MLAgents.TargetContact

Inheritance: MonoBehaviour
Afficher le fichier Open project: grantgasser/autonomous-vehicles-mlagents-unity

Méthodes publiques

Méthode 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 méthode

Check for collision with a target.
public OnCollisionEnter ( Collision col ) : void
col Collision
Résultat void

OnCollisionExit() public méthode

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