If you just want to pause stuff or slow them down you could use app.timeScale. If you set it to 0 then it’s gonna pause the physics I think. Although timeScale affects all systems not just physics.
Thank you very much, I’ll test it right away. We have customers that will use Terminal Server so we need to use resources only when interacting with the 3d model and not the Webpage. I’ll post the outcomes.
I use Cannon.js to pause the physics, this helps me suspend gameplay until garbage collection or other operations the game has to make to free up memory/resource…
I am trying to use the Playcanvas’ physics engine now because I like it’s Mesh RigidBody system…unfortunately Playcanvas’ physics engine makes the sporadic frame rate changes on my low-end devices, while Cannon.js keeps the frame-rate consistent even though lower than the highest fram-rate Playcanvas’ physics engine has.
Well if Playcanvas can create a function specifically to suspend physics engine, that would be ideal…