- Home /
Question by
HauntedHotPocket · Aug 16, 2014 at 07:06 AM ·
collidertrigger
Collider & Trigger on same object
I added a collider AND a second collider with isTrigger selected as well. The trigger collider is working but the actual physical collider still lets the object pass through walls. Any idea why this is happening?
What I'd like is to give the object both a collider to keep it from passing through objects, as well as another collider that works as a trigger.
Thanks!
Comment
This should work if they are different types of colliders (a box and a capsule, for example). Otherwise, create a child object and attach the trigger/collider to that ins$$anonymous$$d.
Answer by Kiwasi · Aug 16, 2014 at 08:08 AM
If you throw colliders on children of a rigidbody they will behave as if they were on the rigidbody. Worth a shot.
Your answer
![](https://koobas.hobune.stream/wayback/20220613160723im_/https://answers.unity.com/themes/thub/images/avi.jpg)