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

anyone tried USE_AWAKE_BODY_SET, OPTIMIZE_TOI, etc, in the latest codestream, do they help?

Topics: Developer Forum
Dec 20, 2012 at 4:43 PM

I am experiencing slowness in my simulation even when lot of objects are asleep , if bullets are near them.

I see the following optional optimizations in the current 3.5 stream and read the submission report earlier.

in World.cs there are:


Has anyone tried any of the those,  do they help significantly or cause side effects?  They are all commented out by default.

I did write to the author a few months ago but I didn't receive a reply.  The submission report looks top quality but doesn't give any metrics..   i don't want to use them if they are just an experiment that won't make it to the stable 3.5 release..

thanks if anyone will share any experience trying them with piling, or ragdolls, or other scenarios.


Dec 21, 2012 at 4:21 AM

See a detailed explanation in changeset 87727 and 90041.

Eric also did a writeup on his blog.

They are currently deactivated as I had some small problems with one of the optimizations, and I have have not tested them fully yet. As with anything in the SVN: It is not guaranteed to work.