16-09-2019, 03:18 PM
(This post was last modified: 16-09-2019, 03:19 PM by josemendez.)
(16-09-2019, 05:37 AM)jaysama Wrote: Hi Obi,
I just purchased Obi Fluid yesterday to make my game. But I experienced difficulty in implementing it, and currently I'm stuck in Distance Fields.
Referring to this thread, that has resolved my initial issues so far (the lag for using raw mesh collider), I am now able to create Distance Field for my fbx glass mesh.
However, when implementing it on sample scene FaucetAndBucket, it seems that the Distance Field doesn't work at all.
The water seems to just went through the mesh.
Pic:
Distance Field:
Mesh:
How do I resolve this?
Your mesh, while having non-zero thickness, is extremely thin, so you will have to reduce max error and/or increase the scale of your mesh for the distance field to be able to pick up such small features. As you can see in the preview, the distance field does not have fine enough resolution to "see" there's an inside and an outside to your glass, and thinks it's all outside (black).