Polarith AI
1.8

◆ Update()

void Update ( AIMEnvironment  environment,
IList< SteeringPercept percepts 
)

Updates the positions of all percepts within the grid with respect to the given environment .

Before this method can be called properly during one update step, make sure to call PrepareUpdate(Vector3, IList<AIMEnvironment>) first.

Parameters
environmentAn AIMEnvironment instance to update the grid for.
perceptsA list containing all percepts associated with the given environment .
Exceptions
NullReferenceExceptionIf the environment or percepts are null.
Imprint