Help wth Physics

Get help using Construct 2

Post » Sun May 19, 2013 2:02 pm

I have a Shuriken (you all know what a shuriken is)
I throw the shuriken from my Players position towards the wall, it should bounce off with the "angle of incidence is equal to the angle of reflection" law...BUT IT DOESN'T !^^
i played around with the elasticity (now set to 1) and it works better, my collision polygon is a Bounding Box,Immovable No, Prevent Rotation NO, Density 1, friction 0 , elasticity 1, linear and angular damping both 0, bullet no, so.. it rotates 720 degress / second by the way, not that it matters i think..
What i did:
Shuriken -> on collision with Wall -> set angle to 180 + shuriken.angle

help me plx
B
3
S
1
Posts: 32
Reputation: 391

Post » Sun May 19, 2013 2:11 pm

You can add the physics behavior Immovable:yes to the wall, and your shuriken should natturally bounce
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
48
S
21
G
18
Posts: 2,114
Reputation: 16,877


Return to How do I....?

Who is online

Users browsing this forum: imhotep22 and 8 guests