Pause physics engine

Hello,
is there any possible way to stop or pause physics engine for a while ?
I have created a lot of physicsImpostor boxes which drop render frame to be 10 or less
but I only need physics engine to play for special cases only like on creation
I have tried to slow timeStep and subTimeStep but did not affect that much
and setting collisionResponse to false did not affect also

can I pause physics engine ? or dispose it and re enable it without effect current physicsImpostor
or pause mesh physicsImpostor ?

Thanks

1 Like

Hey and welcome!

This is not something we have yet but I think it is a great need.

So I will add a new property for you for the next nightly (in a hour or so):

scene.physicsEnabled= false;
7 Likes

Thank you @Deltakosh
This is so great :smile: