How do i let a ball bounce of a moving object

Get help using Construct 2

Post » Thu Dec 08, 2016 7:44 pm

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:

Image

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!
B
7
S
2
Posts: 25
Reputation: 507

Post » Fri Dec 09, 2016 1:54 pm

ImageImage
B
108
S
49
G
23
Posts: 783
Reputation: 22,611

Post » Sun Dec 11, 2016 7:12 am

Thank you very much, i'm gona check it out :D
B
7
S
2
Posts: 25
Reputation: 507


Return to How do I....?

Who is online

Users browsing this forum: Elliott, kellehk, rollyzz, Voytek and 22 guests