SC_groupCollision
SYNTAX
return float=SC_groupCollision ( obj1, group )
-obj1: an object you want to check collision against
-group: the group of objects you want to check against this object(0 to check against all)
returns: the number of the object collided with
returns 0 if no collision occured
Similar to SC_objectCollision except it checks against a group of objects.
Objects assigned group 0 during setup have no group and are ignored during group collision.
(except obj1).
This command does not return any other information about the collision, it's
normal or point of contact.
RELATED INFO
Collision Commands Menu
Index