I have a first person character and a vehicle with a collider. Both the player and the vehicle have they own unique controller with key mapping in scripts attached to each. Is there a way to turn on and off various scripts upon entering a collider, similar to the check-box next to the script in the Inspector? So if I enter the vehicle collider it turns off the first person controller, and turns on the vehicle controller.
Thanks!