Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi Fluid with Vuforia and ARCORE
#2
(18-05-2018, 06:39 PM)tinkerboy Wrote: Hi all

I've just bought Obi Fluid with the goal of adding fluid physics to my augmented reality projects. Running the test scenes as is, they work perfectly. But I've encountered problems on two different AR platforms:

1) ARCore

On ARCore, the beaker (water container) needs to be scaled down a lot for it to appear the correct scale in the real world. Using the emitter material resolution setting, I've also resized the particles for them to fit in the tiny beaker. After this, the particles simply explode. Upon reading the forums, I need to fix the physics settings such as viscosity, surface tension, cutoff distance, etc. Has anyone successfully found good settings for this?

2) Vuforia

On Vuforia, it's the opposite: I need to scale up the beaker several times for it to appear normal size in the real world. The physics seem to work fine by going up in scale. My problem here now is, the minimum emitter material resolution is 0.001, corresponding to a particle size of 1.0. This would mean I would need hundreds of thousands of particles. Any way I can bypass this minimum resolution?


Thanks in advance!

HI there,

You could perform the simulation in local space, and scale the whole thing up/down depending on your needs. To do so, place the emitters/containers (beaker) as children of the solver game object, then enable "simulate in local space".

With this setup, you can then set the scale of the solver game object which will affect both the fluid and the beaker. No need to fiddle with fluid parameters.
Reply


Messages In This Thread
Obi Fluid with Vuforia and ARCORE - by tinkerboy - 18-05-2018, 06:39 PM
RE: Obi Fluid with Vuforia and ARCORE - by josemendez - 21-05-2018, 09:09 AM