DanielChappuis / reactphysics3d

Open source C++ physics engine library in 3D

Home Page:http://www.reactphysics3d.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Are different dworlds threadsafe?

opened this issue · comments

Can I use two different dworlds from the same PhysicsCommon on different threads with no mutexing?

Multi-threading is not currently supported by the library. I hope to work on that soon.

Thank you. Could I currently use two PhysicsCommons, on different threads?

You can try but there are some static fields in the PhysicsCommon class and you could have issues with that if you instanciate two instances.