Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Prevent Camera Rotation while moving between targets

Discussion in 'Cinemachine' started by AntLewis, Oct 28, 2020.

  1. AntLewis

    AntLewis

    Joined:
    Feb 2, 2010
    Posts:
    222
    Hey there, I have a number of targets that I want cinemachine to track (turn based title). Ideally, all I want (for the moment) is a simple behaviour - for the camera to move between characters in the scene, with no rotation on the camera whatsoever. I thought a transposer camera set to world space, with aim set to none would accomplish this, but when the camera moves it still rotates (primarily around the Y axis). I've tried a few variations but can't seem to crack it. So what should I be using for my Body? I assume I want Aim to do nothing.

    Cheers for any assistance!
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    592
    Hey,
    The way you describe it (transposer with binding mode world space) should produce the result you are looking for. Could you provide more details or a simple project where I can see the problem? :)
     
    Last edited: Oct 28, 2020
  3. AntLewis

    AntLewis

    Joined:
    Feb 2, 2010
    Posts:
    222
    Ah that worked! Thanks :)
     
unityunity