Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Move fluid based on device orientation - ObiSphericalForceZone?
#3
(01-11-2018, 06:17 PM)josemendez Wrote: Hi there,

You can use the reading from the device's accelerometer to drive gravity directly. Change the gravity in the solver, and don't forget to call solver.UpdateParameters() afterwards. That should do it.

Thanks. It was the solver.UpdateParameters() that I was missing.
Reply


Messages In This Thread
RE: Move fluid based on device orientation - ObiSphericalForceZone? - by p3gamer - 02-11-2018, 07:51 AM