Piled up entities with bounciness are shaking all the time

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
User avatar
alakryon
Posts: 6
Joined: Fri Nov 21, 2008 8:41 am
Location: Miskolc, Hungary

Piled up entities with bounciness are shaking all the time

Post by alakryon »

Hi!
I have problems with the barells again... :)
I want to pile up them, but I want them to bounce a little, when collide with something, so I set their bounciness property to 0.3f. The problem is, that if I set any value to bounciness, they are shaking and moving all the time...
Image
Can I somehow set some sensitivity or other thing that prevent the applying of bounciness under a given border value?
Maybe is there any other solution?
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Piled up entities with bounciness are shaking all the time

Post by Norbo »

Unfortunately, there isn't any great solution to this in v0.7.0. I've added a space.simulationSettings.bouncinessVelocityThreshold for v0.7.1, and I'm going to try to polish the behavior otherwise as well.
User avatar
alakryon
Posts: 6
Joined: Fri Nov 21, 2008 8:41 am
Location: Miskolc, Hungary

Re: Piled up entities with bounciness are shaking all the time

Post by alakryon »

Thanks for the answer!
I think my barells will not bounce too much until 0.7.1... :)
Anyway, keep up the good work, this is a great project, and I hope there will be a day, when I can tell everybody , that I have made a good game, with a perfect physical engine made by You! :wink:
Post Reply