New glass shatter code and maybe collision code as well introduced major overhead, causing a very high cpu usage compared to the original.
Should add some global shatter pieces limit and kill pieces that are on the floor/under the floor.
For instance, Vancouver is barely playable for a minute after multiple glass hits, causing lower fps and overall game slowdown.
Alternatively, maybe can do it on gpu somehow.
New glass shatter code and maybe collision code as well introduced major overhead, causing a very high cpu usage compared to the original. Should add some global shatter pieces limit and kill pieces that are on the floor/under the floor. For instance, Vancouver is barely playable for a minute after multiple glass hits, causing lower fps and overall game slowdown. Alternatively, maybe can do it on gpu somehow.