I just want to appologize. I’ve asked a question, and didn’t really spend much attention to Your responses. Thats a behaviour I don’t like myself. Sorry for that . I didn’t make to much progression on my issue and was a little frustated
I’ve switched off the animation and FPS went up from 1 to 8 And noticed 20% of update time is spend on the UI Actually chasing performance issues is kind of fun
Yes I use physics. After putting findByName() into init I’ve a average FPS = 34 (without
animations) the biggest block left ist ammo.wasm…
So I simple don’t know what wasm is, I’m currious if I really need it…
ammo.wasm does all the computations about your rigidbodies and colliders. Yes, you need it.
Edit:
If you see that ammo.wasm takes a lot of time, it means you are doing alot of physics manipulations at that frame, like moving kinematic objects, teleporting stuff or enabling/disabling entities with rigibody/collision components. If there are too many objects, you might consider updating only the ones that are near the player, as others won’t be visible anyway.