04-10-2017, 03:05 PM
(This post was last modified: 04-10-2017, 03:06 PM by josemendez.)
(04-10-2017, 02:45 PM)unityfrtech Wrote: Hi,
I am trying to achieve cloth physics between two custom meshes in the process of draping the clothes on human. I am trying to achieve the same as in first 5 seconds in this video link "https://www.youtube.com/watch?v=TXAycMilNtg". In this process i am facing difficulty in making my custom cloth behave as the obi cloth. Please help me out in this issue.
Hi there,
Just create a MeshCollider and add a ObiCollider component to it. See:
http://obi.virtualmethodstudio.com/tutor...sions.html
For the cloth piece, use any (sufficiently tessellated) plane and increase the "max bending" parameter of bend constraints to about 0.02. This will allow your cloth to form wrinkles and folds more easily.
Also, make sure your distance and collision constraints have a sufficiently high iteration count in your ObiSolver (how much is enough depends on your particular scene).
cheers!