Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Mixing Fluids
#41
(25-08-2022, 10:05 AM)khanx078 Wrote: So do i need to remove the mesh colliders

Distance fields are only used to collide against particles. For all other regular objects in the scene, the MeshCollider will still be used. So the MeshCollider still needs to be present. Quoting the manual:

Quote:Distance fields will only generate collisions against Obi particles. They will not collide with other objects, for this you need to use Unity's own colliders.

(25-08-2022, 10:05 AM)khanx078 Wrote: and there is no option to enable the distance field collision like mentioned in the documents, there I created the distance fields and attached them in the distance field area , but as soon as I hit the play button the mesh colliders gets attached automatically.....

In recent versions, the distance field is used automatically as long as there's a distance field assigned to the ObiCollider. Will correct the manual to reflect this.

Note that DistanceFields can be used for any object, regardless of the type of collider you're using for rigidbody physics. You could approximate your bucket with a capsule collider so that other objects in the scene can collide with it, and still have a distance field for collisions against fluid particles.
Reply


Messages In This Thread
Mixing Fluids - by canaydiin - 28-03-2022, 12:00 PM
RE: Mixing Fluids - by josemendez - 28-03-2022, 12:15 PM
RE: Mixing Fluids - by canaydiin - 28-03-2022, 01:14 PM
RE: Mixing Fluids - by josemendez - 28-03-2022, 02:49 PM
RE: Mixing Fluids - by canaydiin - 28-03-2022, 10:20 PM
RE: Mixing Fluids - by josemendez - 29-03-2022, 07:31 AM
RE: Mixing Fluids - by canaydiin - 29-03-2022, 01:48 PM
RE: Mixing Fluids - by josemendez - 29-03-2022, 02:18 PM
RE: Mixing Fluids - by canaydiin - 29-03-2022, 02:53 PM
RE: Mixing Fluids - by josemendez - 29-03-2022, 02:59 PM
RE: Mixing Fluids - by canaydiin - 30-03-2022, 07:29 AM
RE: Mixing Fluids - by josemendez - 30-03-2022, 07:45 AM
RE: Mixing Fluids - by canaydiin - 30-03-2022, 07:51 AM
RE: Mixing Fluids - by josemendez - 30-03-2022, 08:13 AM
RE: Mixing Fluids - by canaydiin - 30-03-2022, 08:22 AM
RE: Mixing Fluids - by josemendez - 30-03-2022, 08:24 AM
RE: Mixing Fluids - by canaydiin - 30-03-2022, 08:33 AM
RE: Mixing Fluids - by josemendez - 30-03-2022, 09:12 AM
RE: Mixing Fluids - by canaydiin - 30-03-2022, 09:15 AM
RE: Mixing Fluids - by josemendez - 30-03-2022, 09:18 AM
RE: Mixing Fluids - by khanx078 - 23-08-2022, 10:21 AM
RE: Mixing Fluids - by josemendez - 23-08-2022, 04:56 PM
RE: Mixing Fluids - by khanx078 - 24-08-2022, 04:53 AM
RE: Mixing Fluids - by josemendez - 24-08-2022, 07:32 AM
RE: Mixing Fluids - by khanx078 - 24-08-2022, 08:51 AM
RE: Mixing Fluids - by josemendez - 24-08-2022, 10:18 AM
RE: Mixing Fluids - by khanx078 - 24-08-2022, 12:22 PM
RE: Mixing Fluids - by josemendez - 24-08-2022, 12:50 PM
RE: Mixing Fluids - by khanx078 - 24-08-2022, 01:10 PM
RE: Mixing Fluids - by josemendez - 24-08-2022, 01:39 PM
RE: Mixing Fluids - by khanx078 - 25-08-2022, 03:33 AM
RE: Mixing Fluids - by josemendez - 25-08-2022, 07:57 AM
RE: Mixing Fluids - by khanx078 - 25-08-2022, 08:49 AM
RE: Mixing Fluids - by josemendez - 25-08-2022, 09:44 AM
RE: Mixing Fluids - by khanx078 - 25-08-2022, 10:05 AM
RE: Mixing Fluids - by josemendez - 25-08-2022, 10:23 AM
RE: Mixing Fluids - by khanx078 - 25-08-2022, 10:35 AM
RE: Mixing Fluids - by josemendez - 25-08-2022, 11:04 AM
RE: Mixing Fluids - by khanx078 - 25-08-2022, 11:35 AM
RE: Mixing Fluids - by josemendez - 25-08-2022, 11:57 AM
RE: Mixing Fluids - by khanx078 - 25-08-2022, 12:07 PM
RE: Mixing Fluids - by josemendez - 25-08-2022, 12:11 PM