today I stumbled in this issue using PhysicsCollisionHandler: having a FROM object (a ball) bouncing around a field surrounded by walls kinda pong game, with walls up and down and open left right sides, when I need to reset the ball position after a score, as is after the ball exit off the sides, the ball, sometimes, won’t reset but keep going. To stop and reset the ball position I use these lines:
self.ball.setVelocity(0,0,0)
self.ball.resetPosition((0,0,0))
BTW the ball is bounced around using
self.ball.addImpulse(vec)
the question is: is that the right way to go or what’s happening here?