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
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

And that is why you shall respect the bug reports guidelines, not only giving a capx is making the bug reproductible in one click in a situation they can work with (less time wasted trying to reproduce vague instructions) but also it helps filtering false positives.

Game design is all about decomposing the core of your game so it becomes simple instructions.
Posts: 2,094
Reputation: 15,355

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests