|
I was wondering if there was a way to disable character collision when using CharacterController. I still want all other collision detection (terrain etc) but when colliding with other CharacterControllers, I'd like that collision ignored. Any idea?
(comments are locked)
|
|
You can make a script that you attach to a single game object (for which there's just going to be one instance) and you put the following code in the
Now there are probaly bugs in this http://code.It's just the logic, I haven't tested it. But the idea should work. and maybe you'll have to replace the arraylist by some other type of collection as I don't remember if arraylists are supported in Indie.
(comments are locked)
|
just editing the post above me.
(comments are locked)
|

If using unity 3, you can put all CharacterController objects on their own layer and use Edit->Project Settings->Physics to have that layer ignore collisions with itself.