PathEngine home previous: iAgent::generateCurvedPath_WithEndVector()next: iAgent::getMesh()
Contents, API Reference, Interfaces, iAgent, getAllAgentsOverlapped



Fills a buffer with the set of agents in a given context overlapped by this agent.


void getAllAgentsOverlapped(const iCollisionContext* context, tVector& overlappedAgents) const


context The state of dynamic collision that will apply for this query.
An empty context can be specified by passing nullptr for this argument.
overlappedAgents (See Passing Arrays.) Returns the set of agents overlapped by the query shape.


Requires that the agent is moveable and that collision preprocess has been generated on this agent's mesh for this agent's collision shape.


This method is equivalent to calling through to iMesh::getAllAgentsOverlapped() on the agent's mesh with the agent's position and collision shape.

C# Mapping

void getAllAgentsOverlapped(CollisionContext context, out Agent[] overlappedAgents);

Java Mapping

void getAllAgentsOverlapped(CollisionContext context, Object_OutArgument overlappedAgents);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iAgent::getMesh()