Running multiple instances of BEPU is crashing
Posted: Thu Mar 15, 2012 12:47 pm
Hi
I'm currently using BEPU for a project where I need multiple instances of BEPU running in the same program at the same time, they are completely isolated with no interaction between them.
However, it's still crashing, usually in the deactivition manager in the add and remove functions. All instances of BEPU is single threaded.
Does BEPU support running multiple instances? And what can be done to solve this problem?
A bit more specific: For every entity for every frame, I apply a random impulse to it. And thus, it crashes. It also crash if I set AngularMomentum to some value.
Even more specific: It only crashes when using multiple instances and I call ApplyAngularImpulse AND AppleLinearImpulse
I'm currently using BEPU for a project where I need multiple instances of BEPU running in the same program at the same time, they are completely isolated with no interaction between them.
However, it's still crashing, usually in the deactivition manager in the add and remove functions. All instances of BEPU is single threaded.
Does BEPU support running multiple instances? And what can be done to solve this problem?
A bit more specific: For every entity for every frame, I apply a random impulse to it. And thus, it crashes. It also crash if I set AngularMomentum to some value.
Even more specific: It only crashes when using multiple instances and I call ApplyAngularImpulse AND AppleLinearImpulse