Hello, It’s my first Topic. Firstly, sory for my english.
I’m in the process of creating a game like Arkanoid. I want to handle when the ball touches the floor to move it to the starting position above the paddle but when I use in onContactBegin:
ball->setPosition(Point(visibleSize.width / 2 + origin.x, visibleSize.height / 5));
Ball freeze in last position when contact with floor.
I tried find solution in google but without result.