- Home /
Enable first person controller after a sequence
Hello.
I Need some help with a script for enable/disable. When i start my game a sequence plays but when its finished its stuck there and not go to the first person controller. The Enable and Disable script that im looking for need to work with a animation event.
What i Need is a script for enable / disable thinks like the fps controller with a animation event.
Thanks for all help.
With "go to" you mean that the view is stuck there? Are you using more than one camera? In that case you might need to change the camera's depth or disable the cutscene camera.
Yes i need help for a script to disable the camera and enable the fps controller
It is difficult without knowing more of your setup. if it is just a camera thing:
Have one camera on the player character (tag main, depth 1)
Have one camera for the cutscene (depth 2)
After the cutscene is over: set depth of second (cutscene) camera to 0 or just disable it
If there are any more question you have to post more of your scene and your scripts.
I have the fps controller and the fps controller is disabled. I createt another camra for the sequence and the camera for the sequence is enabled and after the sequence i want to disable the camera with an animation event and i want to enable the fps controller (thats my setup