Game Development Community

Object in interior or above the terrain

by Frank Carney · in Torque Game Engine · 10/15/2006 (6:24 am) · 3 replies

Is there a simple way to detect if an object is inside an interior?
I know there is a simple way to determine if an object is below the terrain, but I was hoping there is a way to detect the interior. The reason is I want a fail safe type mechanism that will correct an object that has fallen through the terrain.

Thanks,
Frank

#1
10/15/2006 (4:43 pm)
Can you get the zone of the object?
#2
10/15/2006 (7:24 pm)
I don't know but that sounds like what I might need. i could not remember what those were called. Thanks
#3
10/15/2006 (8:15 pm)
You can detect if the player hits an interior or create a trigger around the interiors, which may take a while depending on your maps.

I don't know of any other way to detect if the player's in an interior though