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

How to enable Trigger on a Mesh Collider

Discussion in 'Editor & General Support' started by Markedavis2001, Aug 13, 2015.

  1. Markedavis2001

    Markedavis2001

    Joined:
    Nov 20, 2013
    Posts:
    30
    Hey guys,

    I want to enable a mesh collider on my water plane but it's grey'd out on me unless I toggle "Convex". That seems to give the water a basic square trigger box which seems to defeat the purpose of having a mesh collider that conforms to the exact size/shape of the object.

    Any ideas?

    Meshcollider.png
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,387
    Non-convex mesh colliders can't be triggers in Unity 5, since the updated PhysX doesn't allow it.

    --Eric
     
  3. Markedavis2001

    Markedavis2001

    Joined:
    Nov 20, 2013
    Posts:
    30
    Ah - well that's good to know. Anyone have any clever ideas on how to craft a collision collider on an object like water that doesn't have a perfectly square shape?