bouncy

Official forum for the Chipmunk2D Physics Library.
Post Reply
pinkfloyddwc
Posts: 2
Joined: Mon Sep 05, 2011 5:26 pm
Contact:

bouncy

Post by pinkfloyddwc »

Hi!
I'm still new to chipmunk physics and I'm having some issues making things stable...

here's what's happening: http://www.youtube.com/watch?v=GPmGcEO9Ag0

i've tweaked settings in many ways but can't seem to fully get rid of this overlapping and jittering issue...

Any recommendations?

Thanks

Pavel :)
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: bouncy

Post by slembcke »

Are you using a fixed time step? (You should be)
Is your time step below 1/60th of a second. (smaller is better)
Are you using at least 10 solver iterations? (more is better)

Try using a fixed time step of 1/180 and, 30 iterations. Your simulation should be rock solid stable with those settings. If it's not, then something else is still wrong. If that works, try scaling the values back until you have something that works without eating all of your CPU.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
pinkfloyddwc
Posts: 2
Joined: Mon Sep 05, 2011 5:26 pm
Contact:

Re: bouncy

Post by pinkfloyddwc »

it's now rock solid... thank you :)
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests