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

iMesh::shapeCanCollide()

Description

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

Syntax

bool shapeCanCollide(const iShape& shape) const;

Parameters

shape Check if unobstructed space is present for this shape.

Return Value

true, if preprocess is present, otherwise false.

Remarks

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);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iMesh::shapeCanPathfind()