NVIDIAGameWorks / PhysX-3.4

NVIDIA PhysX SDK 3.4
https://www.nvidia.com/
2.35k stars 273 forks source link

Fix BucketPrunerOverlapTraversal crash #66

Open Yokoloki opened 6 years ago

Yokoloki commented 6 years ago

If boxes are set empty in BucketPrunerCore::removeMakredObjects and BucketPrunerCore::mSortedWorldBoxes is not rebuilt by BucketPrunerCore::classifyBoxes, subsequent calls to SphereAABBTest_SIMD will crash if empty box is accessed.

ka1nong commented 6 years ago

I also encountered this problem. currentbox.mExtent,x value is -8.50705867e+37