Restitution, damping...where are these variables documented?

PhilB
Posts: 11
Joined: Thu Aug 28, 2008 3:01 pm

Restitution, damping...where are these variables documented?

Post by PhilB »

well, everything is in the subject I guess...
TIA,
Phil
sparkprime
Posts: 508
Joined: Fri May 30, 2008 2:51 am
Location: Ossining, New York

Re: Restitution, damping...where are these variables documented?

Post by sparkprime »

restitution is the "bounciness", from 0 (no bounciness) to 1 (no energy lost). You can use a value >1 but this will cause positive feedback.

damping is the proportion of velocity lost per second, although there is currently a bug in the damping algorithm that causes the wrong amount of damping to be applied each internal step, but it's easy to patch if this matters for you: http://code.google.com/p/bullet/issues/detail?id=74