this is really baffling me and could use the help
ill be specific as possible
i have two 3rd person characters on the screen, when the player presses the “w” key it turns off player 1’s controls, camera and player 2’s AI and then turns on player 2’s controls, camera and player 1’s AI
so basically you switch character. it does this using GetComponentInChildren(code).enabled
it works fine to a degree.
heres my problem
when it switches even though it switches the AI off from player 2 he still follows the waypoints and if i remove the AI completely the character controller although on does not work
any ideas?
oh and the AI is from the tutorial on the unity website.
thanks (btw im an artist by trade so sorry if this is ridiculously stupid)