I have a bunch of display objects on the screen (call them enemies). It’s useful to put them in a display group - that way I can iterate through the group, find out how many enemies are left, and check when all enemies are gone.
The display group is nice because I can just remove the object (through removeSelf() or whatever) and it automatically removes it from the group, and re-indexes all the other objects in the group.
But I don’t actually need the other features of a display group, and it screws up the physics engine if things are in different groups. I just need some kind of structure that keeps track of objects without my explicitly adding or removing them. [import]uid: 49372 topic_id: 9344 reply_id: 309344[/import]