13-05-2021, 03:03 PM
(This post was last modified: 13-05-2021, 03:07 PM by josemendez.)
Hi,
You should only disable the ObiSolver component. This stops the simulation, keeping all data in place.
If you disable the entire gameobject, then all actors will be disabled too, and all their data (particle positions, velocities, etc) will be removed from the solver.
When you re-enable it, all this data has to be copied back and the actors re-added to the solver, which is considerably more costly.
You should only disable the ObiSolver component. This stops the simulation, keeping all data in place.
If you disable the entire gameobject, then all actors will be disabled too, and all their data (particle positions, velocities, etc) will be removed from the solver.
When you re-enable it, all this data has to be copied back and the actors re-added to the solver, which is considerably more costly.