In my game, when a collision occurs between two bodies I remove one of them like this:
obj:removeSelf();
The object is removed from the screen. However, the output window gets filled with messages like this:
WARNING: Attempting to set property(x) with nil
WARNING: Attempting to set property(y) with nil
I am not manually setting the x or y values of either object. Is it possible that the physics engine is still trying to update the x and y values of the body, even though I called removeSelf()? Can you think of any other reason I would be getting these warnings? [import]uid: 52127 topic_id: 9822 reply_id: 309822[/import]