How to make character controller not collide with specific object?
With my character controller, it will climb over an object that it shouldn't be based off of what I'm trying to design for my game. I removed the collider from my capsule but it still does the same thing. So is there a way to make it not collide with with this object? Any help is appreciated. Thanks in advance :)
Answer by hexagonius · Nov 13, 2016 at 05:47 PM
you can either achieve this by altering the physics collision matrix under Edit -> Project Settings -> Physics so that itdoes not collide with it's own layer or any other on which you put the object it should not collide with.
Or you use the method Physics.IgnoreCollision to explicitly ignore the collision with your character and the target, although I'm not sure if this one works with a character controller.
Your answer
![](https://koobas.hobune.stream/wayback/20220612100603im_/https://answers.unity.com/themes/thub/images/avi.jpg)