Topic: How to set up cinematic option to use an animation or prefab file?

Im trying to use an animation or a prefab file to control the cinematics of my moves.

I get these errors when I attempt

This is from using a prefab:
http://i.imgur.com/s0DrE5k.png

This is from using an animation file
http://i.imgur.com/HIhTNPG.png

This is the line of code that is highlighted after I try to use an animation file
http://i.imgur.com/nfsc1aT.png

AThis is how my main camera is set up
http://i.imgur.com/heszgsj.png

This is the cinematice option
http://i.imgur.com/YsLn20j.png

When I use the camera editor the cinematic works normally.  I want more control by using the animation file.  What am I doing wrong with my set up?

Re: How to set up cinematic option to use an animation or prefab file?

Try removing the Animation component from the Main Camera.  The file you include in the Cinematic Options will automatically be assigned to the Camera during the cinematic.

Share

Thumbs up Thumbs down

Re: How to set up cinematic option to use an animation or prefab file?

YumChaGames wrote:

Try removing the Animation component from the Main Camera.  The file you include in the Cinematic Options will automatically be assigned to the Camera during the cinematic.

Thank you very much!  Also I learned that whatever animation you attached to the camera has to be marked as a legacy animation.  Very handy smile