- Home /
Question by
Macdude2 · Apr 23, 2011 at 04:39 AM ·
collidertriggercontroller
character controller only triggers colliders on its sides
My problem is that when I walk my character controller over to a collider that is verticle and marked as a trigger, the trigger activates and everything acts right. But when I walk my character controller on top of a horizontal collider, the trigger does not activate. Why would this be? Thanks.
Comment
Answer by bpanatta · Jun 14, 2012 at 04:01 PM
To trigger the collider your character controller must enter the collider. When you put your character controller on top of the collider it doesn't activate beacause they are not touching.
This happens because of the behavior of the chacter controller. If you had an rigidbody sensive to the gravity instead of it the collider would trigger, because the rigidbody would fall, therefore touching the collider.
Your answer
![](https://koobas.hobune.stream/wayback/20220613124627im_/https://answers.unity.com/themes/thub/images/avi.jpg)