Page 1 of 1

🔴 OPEN BUG: Performance of Collision Detection

Posted: 2023-Oct-12, 07:31
by Krishty
The game comes to a grinding halt when you destroy more than four or five buildings at the same time. The reason being, all the spawned debris (~50 per explosion) are tested brute force for collisions against buildings and terrain. (It really is unbearable!)

This approach was sufficient when there was not much going on, but now we need a proper spatial acceleration structure for these cases.