Hi experts,
I am using JBullet Release 20080917.
I've created a simple scene with a bouncing sphere. I've set the restitution coefficient to 1.0 (perfect bouncing) for both the sphere and the ground.
The sphere falls down with a null initial speed. It bounces, and bounces, and bounces again...
But surprisingly, I can clearly observe that the sphere is bouncing higher and higher !
What's going on?
TIA,
PhilB
Bouncing ball
-
- Posts: 11
- Joined: Thu Aug 28, 2008 3:01 pm
Re: Bouncing ball
None can provide me with an explanation please ? Given the conservation of energy, it should not be possible for a ball to bounce higher and higher, right ?
Thanks
PhilB
Thanks
PhilB
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Bouncing ball
There is some energy added during collision response, so using 1.0 for restitution is not recommended.
One of the reasons is that collisions usually cause some penetrations, and recovery for those penetrations adds some momemtum (velocity/energy). Usage of split-impulse technique, available in the Bullet 2.72 C++ version, avoids this problem, but introduces some instability for stacked objects.
This is indeed a shortcoming, currently in Bullet and several other physics engines,
Erwin
One of the reasons is that collisions usually cause some penetrations, and recovery for those penetrations adds some momemtum (velocity/energy). Usage of split-impulse technique, available in the Bullet 2.72 C++ version, avoids this problem, but introduces some instability for stacked objects.
This is indeed a shortcoming, currently in Bullet and several other physics engines,
Erwin
-
- Posts: 11
- Joined: Thu Aug 28, 2008 3:01 pm
Re: Bouncing ball
Thank you for these explanations Erwin.
Phil
Phil