Page 1 of 1
Float Objects?
Posted: Mon Jan 12, 2015 4:47 am
by thebigmontagestudios
Okay, i'm stuck on something I feel like i should know, but don't. Floating an object in a hybrido fluid? Basically trying to set up something like a raft floating on the ocean surface but of course reacting to the fluid surface. I'm drawing a blank on how to make this happen. Can someone please help?
Re: Float Objects?
Posted: Mon Jan 12, 2015 4:50 am
by thebigmontagestudios
i think it's using rigid body dynamics isn't it? But if so, how do i figure out what the mass calculation should be?
Re: Float Objects?
Posted: Mon Jan 12, 2015 8:50 am
by tsn
Unfortunately, an object's density isn't considered with Hybrido fluids and so it's not possible to make objects behave in a physically accurate way as you know it from SPH or RealWave.
Anyway, to calculate an buoying object's density you need its mass and volume, and the density of the surrounding fluid. In the case of water this is 1000 kg/m^3. An object's volume can be seen under Tools > Measure Utility. Now, solve this simple equation: Density = Mass / Volume (it's very likely that you have to increases/decrease the result a little bit).
If the result is equal or smaller than the density of the fluid then the object will float; if the result is higher it will sink.