- Home /
Switch between third and first person controllers.
Ok, first off I'd like to apologize if there is another thread for this but a search turned up nothing.
I'd like to make it so that when a key is pressed the player will stop using a third person controller (and custom vehicle) and start using a default first person controller (with a different collision detection and abilities). On pressing the same button again the player will switch back to driving a vehicle. I already have the controllers and cameras for each but how do I switch between the two on a button press.
Additionally I'd like the screen to have a fade in fade out effect during the transition so it doesn't feel too weird.
How would I go about doing this.
If you want switch between 2 cameras, say camera 1 and camera 2.Just need to change tag of camera you need to active to $$anonymous$$ainCamera and change the other to Untagged or anything ( if cam 1 is active, press the button, change cam1.tag = something and cam2.tag = $$anonymous$$ainCamera, and vice versa).
I dont know how to make a fade effect but i have another idea. You only need 1 camera and store some diferent position for it (first person view and third person view), only need to change its position when player want to change view.
Your answer
Follow this Question
Related Questions
third person controller like in Assasian's creed or GTA5 0 Answers
Third Person Controller: Animates correctly, but can't move 5 Answers
Import Packages - Characters 0 Answers
Is there any tutorial/documentation that explains every script of standard asset. 0 Answers
Third Person Camera Movement control. 2 Answers