Polarith AI
1.8

◆ GetPerceptsInRange()

void GetPerceptsInRange ( Vector3  point,
float  range,
IList< string >  environments,
IList< SteeringPercept percepts 
)

Queries all SteeringPercept instances in range of the given point and writes them to the percepts list.

Parameters
pointThe position in world coordinates for getting percepts in range.
rangePercepts which are within this range with respect to given point are considered as relevant.
environmentsDetermines which AIMPerceiver<T>.Environments are to be iterated. If a label does not correspond to any environment, it is ignored.
perceptsContains percepts in range after calling this method.
Imprint