Box2D Forums

It is currently Sat Jul 26, 2014 2:06 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: jitter and ragdoll
PostPosted: Tue Jan 10, 2012 3:11 am 
Offline

Joined: Tue Jan 10, 2012 3:00 am
Posts: 4
Hello,

I have created a simple doll with arms and legs (revolute joints).
Trouble is, once the doll has been launched (that's my game) and lands on the ground, it keeps on moving (jitters): so it never sleeps.

Is there a way to avoid this perpetual movement, jitters ?

Same happens with TestBed.swf demo and with wck demo (buoyancy)
I tried setting b2Settings.b2_velocityThreshold or change the joints and body part properties such as mass with no success.
Any clue ?

Regards


Top
 Profile  
 
 Post subject: Re: jitter and ragdoll
PostPosted: Fri Jan 20, 2012 2:02 pm 
Offline

Joined: Sat Aug 01, 2009 12:31 pm
Posts: 17
Location: Poland
it also happens in my game sometimes when the body makes a 'bridge'. anyways i would check all the bodies linear/angular velocity and if it's smaller then 'something small' after a second just force sleep on it. experiment with the values.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group