Low fps. Ammo engine

My site: Title

There are 4 billboards (games that I made). If the car crashes, they break up. But I get lags. I think this is due to the fact that 1 billboard contains 162 cubes. That is, a total of 648. How can this be optimized?

I use ammo.js

Pinging the master of Physics @RaananW


Well, 600+ boxes falling from the sky can be sometimes a bit too much. But shouldn’t reduce the FPS so much.

Your code is minified and the FPS counter is always showing 0, so I can’t really know what the issues are or how to solve them. Could be rendering, could be physics, could be both.

Do you want to recreate this on the playground so I can see the code and make suggestions / changes?

PS - pure fun. I think i crashed into those walls 30 times in the last 10 minutes. Of course for the sake of research.