Original Post
I've been working on a sort of 3D top-down shooter using Python and Ogre, but I still haven't completely wrapped my head around OOP. Things were going fine as long as I defined each instance of a game object individually, but now that I want to spawn objects dynamically I'm running into problems. Right now I've got all my physics calculations in a separate module which maintains a master list of all the objects in the game, but it doesn't seem to make sense to store references to the objects' SceneNodes in the physics code, so how can I step through the list to draw the objects?