Hey guys I’m kinda new here but i do know the basics.
I’ve been working on a silent hill game and it seems the best controller is the locomotion system. so I used it.
everything was fine until I coded camera triggers.
Basically in old silent hill games ( mine is based on 1 / 2 ) in some places like near some houses, the main camera turns off and another one activates which does only look at the player not follow him.
The script works fine. But it seems that when I turn on the new camera, the player does not follow the controls anymore. it’s like, if i press the left button he goes forward and if i press the right he goes backward and so on. and when I get away from where this camer should be used and swith to the main one which has the locomotion system’s follow camera script, he walks just fine.
the trigger script is so simple. it has a var ( camera) and when u enter a box collider ( OnTriggerEnter ) this camera activates. when u exit, it turns off.
I didn’t disable or touch the main camera cuz if i do, the player will keep walking forward on his own.
I’m rally stuck :s
Does anyone knows what might cause this problem??
and thx ^^