25-08-2022, 10:35 AM
(25-08-2022, 10:23 AM)josemendez Wrote: 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:It made a difference my frame rate is around 36 now but it suddenly drops down to 27 then jump backs up, I have attached the profiler ,
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.