Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

top-down camera with Cinemachine

Discussion in 'Cinemachine' started by Aaron-Meyers, Nov 1, 2018.

  1. Aaron-Meyers

    Aaron-Meyers

    Joined:
    Dec 8, 2009
    Posts:
    91
    I'm trying to add a top-down camera to my Cinemachine rig and I'm running into what appears to be crazy gimble lock flips. Here is how the virtual camera is set up: upload_2018-11-1_10-4-43.png

    As the target moves around, the camera appears to rotate pretty wildly and unpredictably.

    Maybe there is a more suitable Body option than Transposer? I imagine I would want something that gives me a way to define the camera's Up vector?

    -A
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    1,911
    Yes, Composer will gimbal lock when looking straight up or down. Transposer is fine. You can try Framing Transposer in Body, and Do Nothing in Aim.
     
    Aaron-Meyers likes this.
  3. Aaron-Meyers

    Aaron-Meyers

    Joined:
    Dec 8, 2009
    Posts:
    91
    Perfect... thanks!