Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Can not use cloth with my character

Discussion in 'Editor & General Support' started by winch, Jul 26, 2014.

  1. winch

    winch

    Joined:
    Jul 20, 2014
    Posts:
    2
    Hello,

    I built a character through makehuman and created a trouser through blender, then exported it to obj format.
    in Unity, I've imported both, then :
    1) used a mesh collider on the character (selected pythonmesh as the mesh)
    2) created new gameobject cloth, and used my trouser as mesh
    3) associate the collider to the mesh
    4) imported an walking animation

    when I run the animation, then the trouser follows my character, but does not move as expected.
    I attach some pictures.

    thanks in advance for your help !! 8 hours trying to resolve it without any good results :( I've followed different tutos from internet.

    pose1.PNG pose2.PNG pose3.PNG pose4.PNG
     
  2. MakeCodeNow

    MakeCodeNow

    Joined:
    Feb 14, 2014
    Posts:
    1,246
    Check out SkinnedCloth, not InteractiveCloth for applications like this.
     
  3. winch

    winch

    Joined:
    Jul 20, 2014
    Posts:
    2
    Thanks for your answer. I'm still struggling on it honestly :(
    I tried skinned cloth, but I need to learn more about it. it's frustrating as the painting points are not aligned with the mesh... and personnally I don't want to go to shroud cloaking product ...

    about interactive cloth (wichi is the best practice apparently), does not work for me. it works with flags, cloth colliding cubes, but does not work for cloth colliding a character. it's not precised enough and it's why the trouser does not follow the character correctly from my point of view.

    still learning...
    thanks.
     
  4. kasprzak

    kasprzak

    Joined:
    Oct 19, 2014
    Posts:
    1
    Hi, struggling with pretty much same thing. I need to have ancient Greek philosophers walking and talking, wearing robes. This must be interactive cloth - am I guessing right? It works kind of properly when both cloth and the collider are high poly meshes, but the system of course slows terribly. Can this at all be done or it is not possible real time?
     
  5. MakeCodeNow

    MakeCodeNow

    Joined:
    Feb 14, 2014
    Posts:
    1,246
    Use skinned cloth if you want something that works in real time. Interactive cloth is too simple and unstable for something as complex as a robe on a moving human.