|
Hello, and thanks in advance for your help.
I'm having a small issue with the ContactListener. I use the postSolve method to set which faces of the body are in touch (all my bodies are rectangles xD), and every gameLoop I reset those touching values to zero. So, for instance, if a bodyA is above bodyB, bodyA is touching down and bodyB is touching up.
The thing is that after a couple of steps with one body above the other, the contact events stop being fired and I can't update this touching direction variable. Funny thing is that if I move horizontally the postSolve method is called and the update is done.
What I would like to know is whether, for some kind of optimization, contact events stop being fired after some steps.
|