17-11-2018, 01:02 PM
(16-11-2018, 09:09 PM)p3gamer Wrote: So I think misunderstood what ObiSphericalForceZone is used for. If I'm not mistaken, both ObiAmbientForceZone and ObiSphericalForceZone are used for wind simulations, correct? If that's the case, what I should be using is this: Oni.AddParticleExternalForce(solver.OniSolver, ref force, particleIndices, particleIndices.Length) since I am not using wind.
Depending on which actor you're using, force zones affect them differently.
For instance, cloth and fluids are affected by a force zone as a wind source. Ropes are affected by them as forces, since they have no surface for the wind to act upon.
However, using One.AddParticleExternalForce guarantees you add forces, not wind.