Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::IsPointInsideGenericShape Method
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. 

true if the point is inside the specified shape.

!

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

!  

!  

!  

!  

IsPointInsideGenericShape

Copyright (c) 2012. All rights reserved.