Is it possible to use the physics multithreaded for mesh optimizing


Do you or anyone else knows this? is it possible with ubllet to use one thread to create the shapes, and then enque them to the main physic stuff?

Eg when preloading larger terrain blocks the bvhoptimize needs around 1second, I don’t want to block the game for that much time.

Yes thats possible. jbullet has a bug where you have to do that on one thread though. This means you can use one separate thread to do that but not multiple. So if you create the shapes on a separate thread, do it with all of them. Btw, j3o can save the shapes.

Ok, thanks, good to know :slight_smile: