C# Class FlockingAgent

Inheritance: MonoBehaviour
Show file Open project: marouen-lamiri/Second-Soul Class Usage Examples

Public Properties

Property Type Description
MaxAngularVelocity float
MaxVelocity float
target Transform

Public Methods

Method Description
FixedUpdate ( ) : void
ResetVelocities ( ) : void
Start ( ) : void

Private Methods

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

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

ResetVelocities() public method

public ResetVelocities ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

MaxAngularVelocity public property

public float MaxAngularVelocity
return float

MaxVelocity public property

public float MaxVelocity
return float

target public property

public Transform target
return Transform