Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding custom particle forces
#8
(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.
Reply


Messages In This Thread
Adding custom particle forces - by herbst - 26-06-2017, 05:12 PM
RE: Adding custom particle forces - by josemendez - 27-06-2017, 11:41 AM
RE: Adding custom particle forces - by herbst - 27-06-2017, 01:28 PM
RE: Adding custom particle forces - by josemendez - 29-06-2017, 03:27 PM
RE: Adding custom particle forces - by p3gamer - 02-11-2018, 04:16 PM
RE: Adding custom particle forces - by josemendez - 02-11-2018, 07:27 PM
RE: Adding custom particle forces - by p3gamer - 16-11-2018, 09:09 PM
RE: Adding custom particle forces - by josemendez - 17-11-2018, 01:02 PM