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



A helper function for checking whether unobstructed space is present for a given shape.


bool shapeCanCollide(const iShape* shape) const;


shape Check if unobstructed space is present for this shape.

Return Value

true, if preprocess is present, otherwise false.


This method tells you whether or not unobstructed space has been generated on this mesh for the specified shape.
(Note that if the 'collision queries without shape specific preprocess' feature has been enabled for this mesh then certain collision queries can be performed without shape specific preprocess, i.e. regardless of the value returned by this method.)

See Also

iMesh::generateUnobstructedSpaceFor(), iMesh::shapeCanPathfind()

C# Mapping

bool shapeCanCollide(Shape shape);

Java Mapping

boolean shapeCanCollide(Shape shape);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iMesh::shapeCanPathfind()