1
\$\begingroup\$

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?

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

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.

\$\endgroup\$
2
  • \$\begingroup\$ Physics.IgnoreCollision works with CharacterControllers, thanks. \$\endgroup\$
    – zaratustra
    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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .