Contents, API Reference, Interfaces, iAgent, canCollide
iAgent::canCollide()
Description
A helper function to determine whether collision queries can be made for the agent.
Syntax
Return Value
Returns true, if the agent is moveable and collision preprocess has been generated on the agent's mesh for the agent's shape.
Otherwise returns false.
Remarks
For non-moveable agents, this method returns false.
Otherwise, this method essentially just calls on to iMesh::shapeCanCollide() for the agents mesh and shape.
(So the same remarks about 'unpreprocessed collision queries' also apply here.)
C# Mapping
Java Mapping