Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Mesh intersection through cloth and not getting perfect simulation on character cloth
#8
(21-03-2019, 02:19 PM)josemendez Wrote: Hi,

Are you relying on colliders (arms, torso, etc) for the cloth to stay on the character? If so, sorry but that's not the way character clothing works (not in Obi, not in any other existing engine). In realtime applications, time discretization causes tunneling issues that just cannot be solved robustly. That's why character cloth is done by blending animation and simulation together, avoiding colliders when possible.

If you look closely at the CharacterCloth sample scene, you'll see that all particles from the waist up are fixed, and follow character animation. No simulation is performed for them. Then, particles below the waist line are simulated, and collide with the character's legs. However the whole thing does not use colliders to keep the cloth onto the character.

Generally you have some fixed particles that follow the skinned animation of the cloth (around the waist, shoulder, arms, etc), then unfix particles in zones that you want to simulate. The fixed particles make the cloth stay in place relative to the character, then you can use skin constraints to control how animation and simulation blend together.
Hi,

Thanks to response quickly,
Yes i am totally agree on that, but i am working on app that has an avatar as a character who can wear different three kind of size clothes like small, medium and large. when i try to set to large the cloth then it should come out from character and if it is small then the cloth should be tore from top to bottom. 

Please tell me if is it possible to do....
I think i have done almost 60% i am able to increase the size of the cloth using distance constraint ,but it's not working with small cloth.
Do you have any idea about how can i do it that would be great appreciate..

Thankyou,
Reply


Messages In This Thread
RE: Obi Cloth Physics Simulation - by josemendez - 15-03-2019, 04:44 PM
RE: Obi Cloth Physics Simulation - by Himanshu - 16-03-2019, 06:36 AM
RE: Mesh intersection through cloth and not getting perfect simulation on character cloth - by Himanshu - 21-03-2019, 02:53 PM