🔴 OPEN BUG: Performance of Collision Detection

Eggheads talking about bytes and stuff.
Post Reply
User avatar
Krishty
Site Admin
Posts: 1931
Joined: 2022-Jan-09, 00:59

🔴 OPEN BUG: Performance of Collision Detection

Post 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.
Post Reply