- Home /
Disable/Enable Colliders
I need to have my character teleport for one of his actions, and when he does this, have the Player/Enemy Collision be disabled when he's teleporting and then re-enabled for when he's not. Any suggestions on how to do this? They're using character controllers so I don't think the isTriggeer = false solution will work.
Comment
Answer by DaveA · Aug 16, 2011 at 08:59 PM
See this: http://answers.unity3d.com/questions/25366/can-i-enabledisable-a-collider-so-it-willwont-dete.html
Heh, I like it. Thanks man. One question though, won't that cause the object to fall through the floor?
Disable and Re-able the Player Controller Collider. Idk if it would work but i'd assume it would