Forum rules - please read before posting.

2D: Animate camera in cutscene

I am trying to animate a camera called FlowerCam to zoom in and out a few times during a cutscene. I created the animation clip, but am a bit confused on what method to use to get it working.

I tried attaching the Animated Camera script to the FlowerCam and plugging in the animation clip but I get the error that the animation clip must be marked as Legacy. I also tried adding an animate object action in the cutscene's action list, but I received the same error. I am also receiving a NullReferenceException:GetRef error.

What would be the best way to go about doing this?

Comments

  • You can mark an animation clip as Legacy by selecting the asset file in the Project window and opening up it's Inspector.

    The animated camera is quite basic, however - for greater control, you could always attach an Animator component to a Simple camera and then animate it using the Object: Animate Action if you prefered.

    If you are geting an error message, please post the full text of it.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.