Merits/Drawbacks of adding object to root group?
by Demolishun · 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 love programming, I love programming things that go click, whirr, boom. For organized T3D Links visit: http://demolishun.com/?page_id=67