Groups Explained
by rennie moffat · in iTorque 2D · 12/22/2010 (8:15 pm) · 2 replies
I know this may sound very newbish as it is, but what is the purpose of groups in Torque? What can I do by setting an object to a group?
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#2
12/23/2010 (4:08 am)
Hmm. So if I set xObjectType to group x, then how, if I am on the right track do I delete that group?
Associate Rene Damm
Ownership. Torque has no automatic memory management and groups are one means of object lifetime management. Group goes, child objects go.
Other than that, collections of course. Logically relate a set of objects to a single object. Same as sets but with the addition of ownership.