Merits/Drawbacks of adding object to root group?
by Frank Carney · in Torque Game Engine · 02/19/2007 (7:55 pm) · 0 replies
Take the following code:
What are the merits of adding clipboard (SimSet object) to the root group other than organization?
Are there any drawbacks?
I am trying to create objects that I can keep persistent between missions. I am assuming the root group is a place I can put those objects. Is this correct?
Thanks,
Frank
SimGroup *rootGroup = Sim::getRootGroup(); rootGroup->addObject(clipboard);
What are the merits of adding clipboard (SimSet object) to the root group other than organization?
Are there any drawbacks?
I am trying to create objects that I can keep persistent between missions. I am assuming the root group is a place I can put those objects. Is this correct?
Thanks,
Frank
About the author
I Started programming in HS and have never stopped. Now an 18 year vet of programming anything from assembler on a NES console to a nuclear waste processing system. If it can be programmed I may have tried to program it!