Game Development Community

Object in interior or above the terrain

by Demolishun · in Torque Game Engine · 10/14/2006 (11:24 pm) · 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

About the author

I love programming, I love programming things that go click, whirr, boom. For organized T3D Links visit: http://demolishun.com/?page_id=67


#1
10/15/2006 (9:43 am)
Can you get the zone of the object?
#2
10/15/2006 (12: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 (1: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