Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding custom particle forces
#7
(02-11-2018, 07:27 PM)josemendez Wrote: Hi,

Doing exactly what you describe, works fine for me. If the force zone is not in radial mode, make sure the wind is not blowing into/away from the screen in the Z axis (as that would have no effect in 2D). You can rotate it to make sure the wind direction arrow points in the right direction.


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.
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