C# Class FlockingAgent

Inheritance: MonoBehaviour
显示文件 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_oe property

public float MaxAngularVelocity
return float

MaxVelocity public_oe property

public float MaxVelocity
return float

target public_oe property

public Transform target
return Transform