Rebound in collision with an object construct

Get help using Construct 2

Post » Mon Feb 02, 2015 9:54 am

Hello guys, I had already written, the beginner and unfortunately I ran into this trouble and I can not get out.

How can I do that two objects collide with each other one of them rebounds?

(For example, as a player who bounces the ball on the head)

Thank You
B
2
Posts: 4
Reputation: 158

Post » Mon Feb 02, 2015 10:37 am

try this demo
You do not have the required permissions to view the files attached to this post.
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,753

Post » Mon Feb 02, 2015 10:46 am

Thank you very much, your example is very useful. Only that I would need that the ball bounces in all directions, and not only fixed linearly. What action should I add?
B
2
Posts: 4
Reputation: 158

Post » Mon Feb 02, 2015 11:30 am

Okram92 easy all you do is set angle to int(random(360))
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,753


Return to How do I....?

Who is online

Users browsing this forum: Armench, beohs, farsen and 15 guests