Parameters |
Description |
position |
the position to check |
shapeName |
the name of the shape to test (returned by AI.GetEnclosingGenericShapeOfType) |
checkHeight |
(optional) if the flag is set the height of the shape is tested too. The test will check space between the shape.aabb.min.z and shape.aabb.min.z+shape.height. DistanceToGenericShape |
Syntax: AI.DistanceToGenericShape(position, shapeName[, checkHeight])
Returns true if the point is inside the specified shape.
Copyright (c) 2012. All rights reserved.
|