Game Development Community

B3 Bug - Loop in findZone

by Joshua Halls (Xerves) · in Torque 3D Professional · 07/13/2009 (7:35 pm) · 3 replies

In the findZone function in sceneGraph.cpp I am getting an infinite loop inside of the while loop where it doesn't find what I am guessing is the zone. Probably need to have this break out at some point as I am sure someone else will end up doing this.

I believe the issue is triggered if you intersect with a portal inside of a zone that doesn't break out of it while the camera itself is in the zone. Testing a bit to be sure before I move the portal.

--Josh

About the author

Part of the team that works on The Repopulation, a SciFi based MMO using a heavily modified version of the Torque MMO Kit - T3D. I also take care of the T3D version of the Torque MMO Kit.


#1
07/14/2009 (12:06 am)
Lets see what Ross thinks about this one.
#2
07/14/2009 (9:44 am)
@Joshua, so you had a portal inside a zone (i.e., completely contained in it) or just overlapped?
#3
07/14/2009 (12:21 pm)
I believe it was in the zone and it wasn't overlapping any of the edges of the zone. I fixed the issue and moved on, should of probably copied the mission file.