FleX icon indicating copy to clipboard operation
FleX copied to clipboard

About the buoyancy Scene

Open ngartner opened this issue 8 years ago • 1 comments

Hi Miles, In the buoyancy scene, you have added three balls with different particle inverse mass. There is a scale of four with the two one floating and a scale of fifty for the one that sink. If I increase the mass of the ball that has particle with inverse mass of 0.25, and divide the inverse mass by 2, the ball is still floating. To make a ball sink it's necessary to increase the mass a lot. Is there a way to change that ratio of 50 ? Make the ball sink faster for example with the same inverse mass ratio ?

Thank you !

ngartner avatar Sep 07 '17 07:09 ngartner

Hi there,

The relationship between density and buoyancy in Flex is only approximate due to the use of shape-matching for the rigid bodies, and the limitations of the coarse fluid sim. Note that the behavior is also influenced by the time-step and iteration count, which unfortunately this means you would need to tune the density ratios and parameters to get the behavior you want.

Miles

mmacklin avatar Sep 07 '17 22:09 mmacklin