13-06-2023, 04:31 AM
Hello,
I am using obi fluid to simulate liquid in a bottle, as I need it to run on mobile AR environment, I found it extremely laggy during the simulation.
I read the document so I know that the lag is due to the use of mesh collider in collision detection. So I generated distance field for the mesh and then added it into the obi collider.
I am not sure should I remove the mesh collider in the obi collider in order to use the distance field or not. Since when I remove it, the fluid go through the mesh, but I think I have generate the distance field correctly, it shows 7 thousands of nodes and the shape is correct.
Thanks.
I am using obi fluid to simulate liquid in a bottle, as I need it to run on mobile AR environment, I found it extremely laggy during the simulation.
I read the document so I know that the lag is due to the use of mesh collider in collision detection. So I generated distance field for the mesh and then added it into the obi collider.
I am not sure should I remove the mesh collider in the obi collider in order to use the distance field or not. Since when I remove it, the fluid go through the mesh, but I think I have generate the distance field correctly, it shows 7 thousands of nodes and the shape is correct.
Thanks.