Box2D Forums

It is currently Sun May 19, 2013 5:32 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat May 26, 2012 2:53 am 
Offline

Joined: Tue Oct 25, 2011 4:30 am
Posts: 6
Haven't tested this well, and haven't had a problem in the past. Using latest SVN trunk, and having this problem apparently 1-off.

Circle::Box collision jitters a lot at a constant 30fps and can even skip right through objects. Circle is dynamic, box is kinematic. Anyone experienced this? The circle is moved with keys and only has SetLinearVelocity applied as keys are pressed. It's Circle::Circle is perfect.. it just stops instantly and I can't even see 1 pixel of jitter. My circle is 1 in radius and box is 1 for each length. Don't know how to debug. Step Iterations are set to 6,5 but changing it doesn't make a difference.

Edit: if I show physics rendering, I can actually see the boxes jittering around a bit. But from my knowledge this is impossible unless I make them greater than about 10000x10000 in size? Increasing frame rate to 150fps almost eliminates the jitter due to a small time step, but it's still there. However, there's no way I can ram my circle through a wall with a time step that small.


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 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