Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Convex mesh collider dose not cover inner faces of a Game Object

Discussion in 'Physics' started by MessySachu, Jan 7, 2015.

  1. MessySachu

    MessySachu

    Joined:
    Oct 21, 2013
    Posts:
    1
    Hello,

    I am working on a chain mechanism where I am joining smaller links which run over a sprocket. I attached convex mesh collider hoping that it will collide with the mesh of the sprocket and it is colliding.

    But the mesh collider around the chain link is not considering the inner faces of the chain link and is forming a box outside the chain link. Due to this the tooth of the sprocket is unable to get into the gap of the link. I want the tooth of the sprocket to collide with the gap in the link.
    I am attaching an image of the chain link with the convex mesh.

    Any help is appreciated.
    ChainLink.png
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,156
    That's what convex means. If you want a concave mesh collider, you'd need to turn convex off.

    --Eric