Search Unity

Question Animator moves a whole scene instead of a camera

Discussion in 'Animation' started by danil00734, May 26, 2021.

  1. danil00734

    danil00734

    Joined:
    Nov 4, 2019
    Posts:
    19
    Hi, I'm making a project and I need to show a gearbox disassembly. I created animation clips with the animation component. I tried to set an animation sequence with the Animator and had to uncheck "Legacy" property in order to import them to the Animator. I also created a couple of triggers to change the animation clips. But when I started the scene and pressed the button for the first animation trigger which is the main camera movement, something strange happend. The camera is supposed to change its position and rotation and fly up to a coupling, but instead the coupling started to change its position and rotation as if it was the camera. The camera itself just froze at the starting position. I checked the coupling position and rotation values and they're from the camera animation clip. I'm confused, it's like the camera is moving the whole scene or the animation for some reason sets camera values to coupling values. Maybe someone can clear it out, thanks.