PathEngine home | previous: | next: |
Tests whether the specified position is obstructed for agents with the given collision shape.
bool testPointCollision(const iShape& shape, const iCollisionContext* context, const cPosition& position) const; |
shape | The collision shape to use for this query. | ||
context |
The state of dynamic collision that will apply for this query. An empty context can be specified by passing nullptr for this argument. | ||
position | The position to be tested. This position must be a valid position on this mesh |
Requires that unobstructed space has been generated on this mesh for the collision shape specified.
(But see also
See
bool testPointCollision(Shape shape, CollisionContext context, PathEngine.Position position); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |