I am making a game where a ball bounces on bouncers. The ball goes up due to the bouncers and down due to the gravity. I use Physics 2. The restitution of the ball is 1.2. I want my app to create an object (in this case another bouncer) at the maximum height the ball can reach after colliding with a bouncer. I have two questions:

- How can I do this? I know how to define the x-coordinate, but not how to define the y-coordinate.The speed of the ball in increases (in general) after each bounce, so the maximum height too.
- How can I trigger this event only once per bouncer? (Current situation: the ball bounces on the same bouncer twice and creates two new bouncers, but I want to create one new bouncer no matter how many times the ball is colliding with the same bouncer.)

Thanks in advance!