22-07-2020, 06:04 AM
SOLVED: I had to add the following two lines to ObiSphericalForceZone, and now it works.
But I shouldn't need to modify OBI source code for this functionality. It makes me think I have missed some way to get the solver to update these values itself. Please advise if you know what I'm talking about.
Oni.SetParticleExternalForces(actor.solver.OniSolver, actor.solver.wind.GetIntPtr());
Oni.SetParticleWinds(actor.solver.OniSolver, actor.solver.wind.GetIntPtr());
But I shouldn't need to modify OBI source code for this functionality. It makes me think I have missed some way to get the solver to update these values itself. Please advise if you know what I'm talking about.
Oni.SetParticleExternalForces(actor.solver.OniSolver, actor.solver.wind.GetIntPtr());
Oni.SetParticleWinds(actor.solver.OniSolver, actor.solver.wind.GetIntPtr());