how do you check SceneGroup() to make sure all objects added are deleted
by hbomega · in Torque 2D Beginner · 10/03/2013 (7:45 am) · 2 replies
I figure that i would just check if getcount()was equal to 0, problem i have more than one SceneGroup and i want to check them all,
Torque Owner Richard Ranft
Roostertail Games
You could just add every object to a SimSet (because an object can belong only to one group at a time but many sets) and use that SimSet to track your objects. Bonus: you can delete all objects by iterating the SimSet and deleting them....