Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Can Obi Cloth float on water?
#2
(24-03-2018, 07:26 AM)evera.hart Wrote: Obi Cloth looks fantastic! Can the cloth float on water (not Obi Fluid, just default Unity water) while a rigidbody sits on top of the cloth? (So the cloth is affected by both the rigidbody and water's waves.) 
Would this be too rendering intensive or is there a way to pre-bake the water and cloth together?
Thanks! Sonrisa

Hi!

Yes it can be done. You'd need to use Oni.AddParticleExternalForces to add a upwards force to each cloth particle, proportional to how deep it has sunk. It will be able to support a rigidbody on top of it.

Rendering is not a problem at all with Obi, simulation is. Depending on how dense your cloth mesh is, it can be too intensive (>10000 triangles)

cheers,
Reply


Messages In This Thread
Can Obi Cloth float on water? - by evera.hart - 24-03-2018, 07:26 AM
RE: Can Obi Cloth float on water? - by josemendez - 24-03-2018, 11:14 AM
RE: Can Obi Cloth float on water? - by evera.hart - 30-03-2018, 12:44 AM