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

iMesh::shapeCanCollide()

Description

A helper function for checking whether collision preprocess is present for a given shape.

Syntax

bool shapeCanCollide(const iShape* shape) const;

Parameters

shape The method checks if preprocess is present for this shape.

Return Value

true, if preprocess is present, otherwise false.

Remarks

This method tells you whether or not shape collision preprocess has been generated on this mesh for the specified shape.
(If the 'collision queries without shape preprocess' feature has been enabled for this mesh then collision queries can be performed without shape specific preprocess.)

See Also

iMesh::shapeCanPathfind()
Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: iMesh::shapeCanPathfind()