Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Need guidance for camera zoom in Cinemachine.

Discussion in 'Cinemachine' started by Visionalmind, Oct 8, 2019.

  1. Visionalmind

    Visionalmind

    Joined:
    Mar 22, 2019
    Posts:
    3
    Hello all,

    I'm trying to figure out a solution for a specific type of camera zoom in Cinemachine. To be honest, I'm still fairly new to programming. So currently, I have no code to show, because everything that I have tried now hasn't worked out. But let's get to the point.

    In the thread you can see exactly what type of camera I want:
    https://forum.unity.com/threads/set-vcam-zoom-orto-size-based-on-player-speed.744062/



    In the video you'll see an orange object lerping around showing how the camera should behave. Now I do understand how to keep both object on screen with Cinemachine. But I do not understand how you can make a object lerp like that.

    So my question goes as follows: How can I make a similar behaving object like that orange dot?

    Can someone help me with this? I would much greatly appreciate it and reward you with loads of karma.;)
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,658
  3. Visionalmind

    Visionalmind

    Joined:
    Mar 22, 2019
    Posts:
    3
    Heej thanks, I'll take a look at it, and report back when I figured it out or still have questions. Thank you for your reply. :)