C# Class SteeringAgent

Inheritance: MonoBehaviour
Exibir arquivo Open project: marouen-lamiri/Second-Soul Class Usage Examples

Public Properties

Property Type Description
targetPosition Vector3

Public Methods

Method Description
ResetVelocities ( ) : void
setTarget ( Vector3 position ) : void
steeringUpdate ( ) : void

Private Methods

Method Description
Start ( ) : void
UpdatePosition ( float deltaTime ) : void
UpdateRotation ( float deltaTime ) : void
UpdateVelocities ( float deltaTime ) : void

Method Details

ResetVelocities() public method

public ResetVelocities ( ) : void
return void

setTarget() public method

public setTarget ( Vector3 position ) : void
position Vector3
return void

steeringUpdate() public method

public steeringUpdate ( ) : void
return void

Property Details

targetPosition public_oe property

public Vector3 targetPosition
return Vector3