I am currently switching the shapes creation phase from the main thread to a job-bases (multi-threaded) asynchronous loading system.
Therefore, I would like some inputs about the thread-safety of some of Bullet internal functions.
I guess this shouldn't be a problem, but could someone confirm the following functions are fully encapsulated and are thread safe ?
Code: Select all
BulletCreateConvexHullShape()
ConvexBuilder::process()
BulletCreateTriangleIndexVertexArray()
BulletCreateBvhTriangleMeshShape()

FYI, the bodies are added to the world in the main thread (all world related functions are called in the main thread).
Thanks,
Greg