Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Other constraints than shape matching
#1
Hi,

I'm trying to understand how other constraints work. I've tried ticking the distance and volume checkboxes in the solver component, and then adding distance and volume constraint behaviors to my soft body. Yet, when running the simulation, the whole object collapses.

Maybe I don't understand these constraints properly? The only constraint that seems to work is shape matching. This is also the only constraint that has samples.
Reply
#2
(29-03-2019, 03:41 PM)RandomWaterbird Wrote: Hi,

I'm trying to understand how other constraints work. I've tried ticking the distance and volume checkboxes in the solver component, and then adding distance and volume constraint behaviors to my soft body. Yet, when running the simulation, the whole object collapses.

Maybe I don't understand these constraints properly? The only constraint that seems to work is shape matching. This is also the only constraint that has samples.

For softbodies, only shape matching, particle collision and collision constraints are used. All other constraints are included for compatibility with ropes (distance, bending, tethers, bend/twist, stretch/shear, chain), cloth (distance, bending, tethers, aerodynamics, volume), and fluids (density).

The corresponding behavior components only give the ObiActor (base class for softbody, cloth, rope, rod and emitter) access to these constraints, which doesn't mean the actor will actually use them. The Initialize() method of the actor will generate the required particles and the constraints it needs.

Take a look at:
http://obi.virtualmethodstudio.com/tutorials/ (Why are there several Obi assets in the store?)
http://obi.virtualmethodstudio.com/tutor...cture.html
http://obi.virtualmethodstudio.com/tutor...gence.html
Reply