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, std::vector<std::unique_ptr<iAgent>>& overlappedAgents) const
The state of dynamic collision that will apply for this query.|
An empty context can be specified by passing nullptr for this argument.
(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.
void getAllAgentsOverlapped(CollisionContext context, out Agent overlappedAgents);
void getAllAgentsOverlapped(CollisionContext context, Object_OutArgument overlappedAgents);
|Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEngine||next: iAgent::getMesh()|