Posts: 6
Threads: 0
Joined: Sep 2020
Reputation:
0
Thank you
I didn't know that.
Is it possible to instantiate emitters in runtime and what is the right way to do that?
Posts: 6
Threads: 0
Joined: Sep 2020
Reputation:
0
Hello again,
I'm still having problems with keeping the liquid in the bottle.
And it's not even moving.
I tried also to generate a sdf with obi.
I tried with a convex mesh collider.
I tried with a non convex collider made out of many little colliders.
Please, could you post an example with a bottle emptying into another bottle (not bucket)?
Thank you
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
05-10-2020, 09:59 AM
(This post was last modified: 05-10-2020, 09:59 AM by josemendez.)
There's no difference between using a bottle or a bucket, just the 3D model used. Setup is identical. Swapping the bucket for a bottle in the BucketAndFaucet sample scene is all that's needed (make sure to use a mesh with a sane amount of triangles in case of using MeshCollider, as the cost of MeshColliders grows with the amount of polygons).
Could you detail the setup you have and the steps you've taken to approach this?
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
05-10-2020, 02:38 PM
(This post was last modified: 05-10-2020, 02:41 PM by josemendez.)
Your distance field is all black, which means all of it is regarded as "outside".
It could be due to your mesh having incorrect normals, or the walls of the container being too thin and needing a smaller error tolerance when generating the DF.
If you send the bottle mesh to support(at)virtualmethodstudio.com I will be able to tell, and fix the mesh for you if necessary.