Game Development Community

Static Shapes in a Trigger

by Chaz Hengesbach · in Torque Game Engine Advanced · 03/15/2008 (7:58 am) · 1 replies

Is there anyway to check for a static shape in a Trigger? The function getNumObjects() seems to only be detecting the player and not any other objects in the Trigger.

#1
03/15/2008 (10:28 am)
Well my first thought is no.

But you might be able to write a mini collision check of your own. you could do one of the containter ray checks to determine if any objects are within boundaries of the trigger.

i think there are 3 types of conainer checks, one that does a strait line, one does a box, another does a spherical check.