- Home /
Non convex Trigger - Unity5 limitation
Hi,
It's not possible to create a trigger collider with a non convex mesh in Unity 5.
Is this limitation temporary and is there a workaround ? Using compound meshes will be really annoying.
Thanks,
Answer by Eric5h5 · Mar 16, 2015 at 05:25 PM
It's not temporary; it was removed from PhysX, which is what Unity uses for 3D physics. You can use multiple convex meshes instead.
Answer by Johannski · Nov 22, 2016 at 10:36 AM
You can solve this limitation with different layers. We just added a layer for concave triggers in which all concave triggers are normal mesh colliders (Without being triggers), and a convex collider that is a trigger with a rigidbody (In your player object probably). Then just set the layer collision mask to only collide with itself and you can probably achieve what you were trying to achieve.
Your answer
Follow this Question
Related Questions
How can I properly trigger the trigger of animator in js script? 0 Answers
Trigerrs Logic problem with collision damage 1 Answer
OnTrigger Down, Call the Button's OnClicked event 2 Answers
Concave Trigger on Mesh 1 Answer
How to use Physics2D.IgnoreCollision2D in Unity 5 to cancel a trigger 0 Answers