This project has moved. For the latest updates, please go here.

Frequent pauses?

Jan 23, 2011 at 6:22 AM
Edited Jan 23, 2011 at 8:12 AM

I hav e asystem which generates explosions in the scene, it basically applies (fairly high) forces to bodies from a certain point and pushes them out.

When I do this the simulation has a habit of pausing for short bits. This happens both on the PC and a mobile device so I don't think it's performance related.

I'm really not sure where to look or what to do at this point, all I know is the cause and symptoms. Is there anything I can do to assess the situation, see where in the update the simulation is occasionally stuttering and pausing so I can figure out what I'm doing wrong in the first place?


I've tried stepping in but all I've found is that this is where the pausing seems to be happening:


// Handle TOI events.
            if (Settings.ContinuousPhysics)
                SolveTOI(ref step);

So yeah, not 100% sure what's happening...

Not sure if that is the reason why



*OK Figured it out, all the bodies in the scene had 'IsBullet' set to true on them, I did this in the past to get past a bug I was having. Removing the flag from most of hte actors hasn't caused that bug to happen so i guess it was something else.