Box2D Forums

It is currently Fri May 24, 2013 9:27 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Simulation slowing
PostPosted: Mon May 28, 2012 9:51 am 
Offline

Joined: Mon May 28, 2012 9:41 am
Posts: 13
I need help with a program I'm writing with jbox2d and slick2d. I'm using this wrapper class to integrate jbox2d with the slick2d library.

Most of the time the simulation runs fine, at 500+ FPS. But sometimes, for no aparent reason, the simulation slows to a crawl... I'm testing even with a single entity falling with gravity. The object falls 10x slower then it should, and strangely the FPS remains the same, 500 or more. Running the program a few times have the same result, but eventually I run it and the simulation goes back to normal, again for no apparent reason... Because of that I can't reproduce the problem consistently...

Does anyone have any idea what could be happening?


Top
 Profile  
 
 Post subject: Re: Simulation slowing
PostPosted: Mon Jun 04, 2012 9:24 am 
Offline

Joined: Mon May 28, 2012 9:41 am
Posts: 13
Bump


Top
 Profile  
 
 Post subject: Re: Simulation slowing
PostPosted: Mon Jun 11, 2012 11:55 am 
Offline

Joined: Mon May 28, 2012 9:41 am
Posts: 13
Please, anyone?


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

All times are UTC - 8 hours [ DST ]


Who is online

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