PathEngine home previous: iMesh::shapeCanCollide()next: iMesh::shapeHasCombinedUnobstructedSpace()
Contents, API Reference, Interfaces, iMesh, shapeCanPathfind



A helper function for checking whether pathfinding queries are supported for a given shape (and collision context).


bool shapeCanPathfind(const iShape& shape, const iCollisionContext* context) const;


shape Check if pathfinding is supported for this shape.
context The collision context that will be used for pathfinding. Can be set to zero if no context will be used (as for the pathfinding queries themselves).

Return Value

true, if pathfinding is supported for the shape, otherwise false.


Pathfinding queries can be called if either:

(Refer to Obstacle Management for more information about preprocessed obstacle sets.)

See Also

iMesh::generatePathfindPreprocessFor(), iMesh::shapeCanCollide()

C# Mapping

bool shapeCanPathfind(Shape shape, CollisionContext context);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iMesh::shapeHasCombinedUnobstructedSpace()