Sunday, January 9, 2011

Make CharacterControllers in Unity not collide with each other

I'm trying to spawn a number of CharacterControllers and have them move around an area, but they keep getting stuck on each other. Is there a way to make them pass through each other while still respecting the terrain's obstructions?

  • Your best bet is to probably use rigidbodys and capsule colliders (a script to get them to behave similar to a character controller can be found here) and then use Physics.IgnoreCollision to get them to pass through each other.

    zaratustra : Physics.IgnoreCollision works with CharacterControllers, thanks.
    From Tetrad

0 comments:

Post a Comment