How do I properly use multithreading with Nvidia PhysX?
- by xcrypt
I'm having a multithreading problem with Nvidia PhysX.
the SDK requires that you call Simulate() (starts computing new physics positions within a new thread) and FetchResults() (waits 'till the physics computations are done). Inbetween Simulate() and FetchResults() you may not "compute new physics".
It is proposed (in a sample) that we create a…