Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetPhysicalEntitiesInBoxByClass
Syntax
C++
int GetPhysicalEntitiesInBoxByClass(IFunctionHandler * pH, Vec3 center, float radius, const char * className);
Parameters 
Description 
float radius 
Radius of the sphere. 
const char * className 
Entity class name. 
centre 
Centre position vector for the area where to look at entities. 

Syntax: System.GetPhysicalEntitiesInBoxByClass( centre, radius, className ) 

Gets all the entities contained into the specified area for the specific class name.

Copyright (c) 2012. All rights reserved.