ammo.js
ammo.js copied to clipboard
low performance in webworker
I implemented an application that run ammo inside a webworker. anyway, when it run in webworker I have a significative drop of performance in step simulation (x10 slower) when I use soft bodies. I escluded data transfer issue (I simply ran the same loop with same configuration in main and in webworker, without messages and postmessages ). someone should know what is the issue?
I tested different approaches (create new geometry in parallel tread, then send to main) https://jsfiddle.net/suddenly4/5wng37vd/2/ to create a soft body in a parallel flow should be on the same principle, also through triangulation how that concave rigid bogy