Quick question about adding displayobjects and physics bodys.
In the beginning of my game I have a function that sets up the game area.
After winning or loosing a level I run this function again.
My question is, do I have to remove these display objects and physics bodys before I set them up again?
Or does it not matter?
I mean, I don’t want them to be created twice or more, but maybe that is not happening if the objects are the same?
And YES, I’m a newbie 
They are declared as local outside the function if that matters to your answer.
[lua]leftWall = display.newRect (walls,0, 0, 4, _H)
rightWall = display.newRect (walls,_W-4, 0, 4,_H)
tak = display.newRect (walls,0, 0, _W, 4)
golv = display.newRect (walls,0, _H-4, _W, 4)
walls:toFront()
physics.addBody (leftWall, “static”, wallMaterial)
physics.addBody (rightWall, “static”, wallMaterial)
physics.addBody (tak, “static”, wallMaterial)
physics.addBody (golv, “static”,wallMaterial)[/lua]
Regards
bergapappa