SC_sphereCastGroup
SYNTAX
return integer=SC_sphereCastGroup ( groupNum, oldx, oldy, oldz, x, y, z, radius, excludeObj )
-groupNum: the object you want to check for collision use 0 for all objects
-oldx...z: the start and end points of the sphere to check.
-radius: the radius of the sphere you want to cast.
-excludeObj: an object to exclude from the collision check.
returns: the object number collided with first is returned
returns 0 if no collision occured.
Similar to SC_sphereCast, except it checks groups of objects. see SC_sphereCast
Objects assigned group 0 during setup have no group and are ignored in group checks.
RELATED INFO
Collision Commands Menu
Index