Search Unity

Falling through mesh

Discussion in 'Editor & General Support' started by junctionboss, Sep 2, 2014.

  1. junctionboss

    junctionboss

    Joined:
    May 11, 2014
    Posts:
    249
    Hi,

    I have a complex mesh, that came in, via 10 submeshes. I selected all of them, and chose mesh collider and I thought I was done ;)

    Im not sure if its my fault and the mesh needs to be optimized somehow, or if I found a bug, because as I go up the mesh on a path (mountain ), near the top I fall through completely and I see the terrain above me.

    Is this a bug or something I need to fix in my mesh ?

    Thx
    jb
     
  2. junctionboss

    junctionboss

    Joined:
    May 11, 2014
    Posts:
    249
    Any idea anyone ? This is a big deal for me, I can't believe no one had any idea of what might be going on. ;)

    later
    jb
     
  3. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    If you can you should use primitive collides an not mesh collider , for performance reasons.
    If you need the mesh collider you will need to make one gamobject per additional meshCollider , since you can only have one mesh per Meshcollider.