Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
IsPointInsideGenericShape
Syntax
C++
int IsPointInsideGenericShape(IFunctionHandler * pH);
Parameters 
Description 
position 
the position to check 
shapeName 
the name of the shape to test (returned by AI.GetEnclosingGenericShapeOfType) 
checkHeight 
(optional) Default=false, 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.
IsPointInsideGenericShape 

Syntax: AI.IsPointInsideGenericShape(position, shapeName[, checkHeight]) 

Returns true if the point is inside the specified shape.

Copyright (c) 2012. All rights reserved.