13-07-2021, 10:42 AM
(This post was last modified: 13-07-2021, 10:44 AM by josemendez.)
(13-07-2021, 08:09 AM)moyashiking Wrote: Hello!
I want to make a sunk object float in Fluid.
Is there a way to do that?
If there is a method, please tell me how to set it
PS
It seems to float if the resolution of Blueprint is 1.
If it is smaller than 1, it does not seem to float.
Resolution has little to no impact of buoyancy (how much an object floats). Density does.
Set the rest density of the fluid blueprint such that it is higher/lower than the density (mass per volume unit) of the rigidbodies that must float on it. If the density of the rigidbody is higher than the fluid’s, it will sink. If it’s approximately equal, it will float in place. If it’s lower, it will rise to the surface. Check the MultiphaseBuoyancy sample scene for an example of fluids/rigidbodies of different densities.
Note this is how buoyancy works in real life too. Let me know if you need any help!