Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How to change rotation of a camera without changing position

Discussion in 'Animation' started by Hirzli2, Apr 26, 2020.

  1. Hirzli2

    Hirzli2

    Joined:
    Oct 11, 2019
    Posts:
    5
    I'm having a problem making an animation happen. I have a button in the UI that when pressed will only turn around the camera by 180 degrees (regardless of where the camera is in space) but when I click it the camera's position gets defaulted to wherever the camera was when the animation was recorded. How can I tweak the animation or the animator to where the position of the camera doesn't matter?
     
  2. Hirzli2

    Hirzli2

    Joined:
    Oct 11, 2019
    Posts:
    5
    It's been almost a month but I still need help on this.