This project is read-only.


Spontaneous Unfreezing of Bodies resting on Immovable/Static surfaces...


I have a large static level (Triangle Mesh) with many boxes scattered around in random piles. They all freeze as expected allowing for a decent framerate.... However, if a single object -anywhere- in the world so much as touches the level, every other object connected to the ground instantly unfreezes causing the FPS to plummet and items to shift around until they settle again.
Here is my quick fix:
===== PhysicsSystem.cs =====
    private void FindConnected(Body body, CollisionIsland island)
        if (body.Immovable)  //Fix: Don't allow Islands to connect with immovable objects...
Closed Apr 18, 2009 at 1:54 PM by noone88


noone88 wrote Apr 18, 2009 at 1:53 PM

You should not give your static collision skin an owner (a body). Just add your collisionSkin to the collisionSystem and you are done. But I will apply your fix because it helps for temporay made immovable bodies. thanks.

wrote Apr 18, 2009 at 1:54 PM

PolyVector wrote Apr 18, 2009 at 9:26 PM

Oh, I didn't realize that noone88.

Thank you. :)

wrote Feb 14, 2013 at 8:35 PM

wrote May 16, 2013 at 10:12 AM