Game Development Community

No zones found? What's a zone?

by Jay Barnson · in Torque Game Engine · 12/16/2004 (9:18 pm) · 5 replies

Quote:"Error, no zones found? Should always find root at least."
I've run into this error with a particular mission - it's an assertion in sceneGraph.cc

Anyone have a clue what I could be doing to cause this?

About the author

Jay has been a mainstream and indie game developer for a... uh, long time. His professional start came in 1994 developing titles for the then-unknown and upcoming Sony Playstation. He runs Rampant Games and blogs at Tales of the Rampant Coyote.


#1
12/16/2004 (10:08 pm)
I think I have a partial answer figured out (I spent way too much time on this tonight).

I'm still curious about how scenegraph works, and what a zone means though.
#2
12/17/2004 (4:52 am)
Well, I'm not quite sure if this is related, but you can set up different zones via use of walls and portals to help with culling.
#3
12/17/2004 (5:53 am)
Jay

TGE uses zones to help cull objects.

Interiors have multiple zones.

The Terrain has one big one.

That message is what you get when an object is outside of all these zones.

Typicaly if you have an object fall though the terrain and keeps falling down, you will get this error message eventualy.
#4
12/17/2004 (6:28 am)
Ah! That totally makes sense now!

Thank you Simon. That solves two problems. Now I know I *don't* have a problem with a vehicle literally dissapearing, too!
#5
12/17/2004 (7:33 am)
Jay,

Thats funny, it was a dissapearing vehicle that made me figure out what was happening. I was spawning it too far up with too much downward force that the collision detection would completly miss the terrain and the vehicle would fall into never never land and I would get that error.