Hey guys,
i have a problem that i can solve on my own. Would be great if someone has an idea.
To understand the problem i scetched the following pic:
The green ball is spawning every x seconds and the red box is movable from left to right.
I want the ball to follow the exact same path without falling on the ground, so you have to place the red box under it.
But everytime i move the box under it the ball gets a bit of its kinetic energy and leaves its "path" » made with the bullet bahavior and some force in the right direction
Is it possible to give the ball a kind of path that it is following no matter if the red box is moving fast or slow.
But the red box has to be "checked" otherwise the game is over.
1. Ball is falling and bounces off the red box at the lowest point
2. Then jumps up again, falls down and the procedure starts again
3. You win the game when the ball is at the right corner
I hope you understand what i want to say
Thank you guys!