detectCollisions CharacterController vs CharacterController


I have multiple charactercontrollers, each of them has detectCollisions set to false in start() method … but they still collide with each other…

void start() {
    CharacterController cc = (CharacterController)GetComponent("CharacterController");
    cc.detectCollisions = false;

Is this intended behaviour or am I missing something … and if so, is there another way for two or more characterCollisions NOT to collide with each other (be able to walk through each other)?

The best way I guess is to put them on separate layers and configure them accordingly:

You can also use this (read the documentation carefully):