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?
1 Answer
\$\begingroup\$
\$\endgroup\$
2
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.
-
\$\begingroup\$ Physics.IgnoreCollision works with CharacterControllers, thanks. \$\endgroup\$ Commented Sep 20, 2010 at 22:18
-
\$\begingroup\$ Also check out this site: answers.unity3d.com (its a pure Unity3D developer site for specific Unity questions) \$\endgroup\$ Commented Nov 20, 2010 at 2:33