29-04-2022, 12:22 PM
(27-04-2022, 04:08 PM)josemendez Wrote: You can do it like this:
Code:ambientForceZone.enabled = false;
ambientForceZone.affectedSolvers = new ObiSolver[]{yourSolvers};
ambientForceZone.enabled = true;
Note it is necessary to disable/then reenable the force zone because the list of solvers is only updated in OnEnable().
kind regards,
Thanks for your help, that helped me a lot