Page 1 of 1

Bouncing angles

Posted: Wed Jul 13, 2011 2:58 pm
by BabaJustin
We are currently having an "issue" where the angles at which our object is bouncing off of walls is not ideal. The current result looks similar to this:
bouncy.png
bouncy.png (7.45 KiB) Viewed 3457 times
The desired result is something more like this, where the angle of reflection isn't so different from the angle of incidence.
bouncy-2.png
bouncy-2.png (7.95 KiB) Viewed 3457 times
Is it possible to tune the physics to achieve this?

Re: Bouncing angles

Posted: Wed Jul 13, 2011 4:53 pm
by Norbo
It could just be friction. It will reduce tangential motion energy on impact. Additionally, as a side effect, linear velocity will be transformed into angular velocity, so subsequent hits will be less 'ideal,' though still physically correct.

Turning the friction down to zero for such impacts would be a good test.

Re: Bouncing angles

Posted: Wed Jul 13, 2011 5:20 pm
by BabaJustin
That did the trick, it was indeed a result of the friction.