Container::findObjects in a separate thread
by Daniel Buckmaster · in Torque 3D Professional · 02/29/2012 (2:29 pm) · 1 replies
I'm trying to use Container::findObjects in a separate thread for building navmeshes, but the problem is that it's not multithreaded at all. As soon as it gets used by more than one process the engine breaks. Is there a thread-friendly alternative that I could use? And, if not, would it be feasible to threadify findObjects? I'm thinking of just replacing the assert with a mutex lock.
About the author
Studying mechatronic engineering and computer science at the University of Sydney. Game development is probably my most time-consuming hobby!
Torque Owner Daniel Buckmaster
T3D Steering Committee