Search Unity

Cloth physics with custom collision?

Discussion in 'Physics' started by Epic-Username, Oct 13, 2015.

  1. Epic-Username

    Epic-Username

    Joined:
    May 24, 2015
    Posts:
    339
    I added cloth physics onto a object in my game but i need it to collide with custom meshes but i can only find sphere and capsule collision options. So is there a way do this?.
     
    Last edited: Oct 13, 2015
  2. MKDev

    MKDev

    Joined:
    Feb 19, 2015
    Posts:
    6
    At this point, spherical and conical capsule colliders are the only way I know of to do it. It can take a bit of tweaking to get a collision volume working properly, especially when you animate the character (to stop skin showing through on some parts of an animation sequence). I've been using about 40 spherical and conical capsule colliders in my tests.
     
  3. Epic-Username

    Epic-Username

    Joined:
    May 24, 2015
    Posts:
    339
    Why did they make it this way?. Wouldn't it be more efficient to allow it to collide with custom meshes rather then adding around 20 or more sphere or capsule colliders?.