Hi,I try to implement rigidbody dynamics while reading the book 'Game Physics Engine Development'.The collisions is well.And now,I am dealing with resting contacts.The problem I met is the boxes are jittering.As the book says,I set the coefficent of restitution to zero when the contact velocity is little.But things still cannot go well(still jitter).I need some advices and help.
Thanks!
Resolve resting contacts
Given that most of us don't have this book, my advice would be:
- Pick a known simple scenario where it misbehaves.
- Put logging in that shows the positions/velocities/forces on the misbehaving objects.
- Post a short excerpt of that data here.
- Post a short excerpt of the code most relevant to the bad numbers.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement