Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Force zone not working
#4
(22-07-2020, 06:04 AM)vannorman Wrote: 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());

No need to modify the source code at all.

For ambient forces to affect the fluid, you need to crank up the fluid's atmospheric drag. No drag = no wind forces. See:
http://obi.virtualmethodstudio.com/tutor...rials.html
Reply


Messages In This Thread
Force zone not working - by vannorman - 21-07-2020, 03:39 AM
RE: Force zone not working - by vannorman - 21-07-2020, 06:03 AM
RE: Force zone not working - by vannorman - 22-07-2020, 06:04 AM
RE: Force zone not working - by josemendez - 23-07-2020, 12:05 PM