Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Need Help with Cinemachine Dolly Track for Creating Camera Path with Variable Directions

Discussion in 'Cinemachine' started by rosatech, Apr 15, 2024.

  1. rosatech


    Apr 14, 2024

    I'm new to the Unity World and I'm currently working on a project where I need to create a 3D video using Unity, and I'm using Cinemachine for camera control. I want to set up a camera path using Cinemachine Dolly Track, but I'm facing an issue with maintaining variable camera directions at different waypoints along the path.

    The camera direction remains constant throughout the path, and I don't want to use "Look At" because I need to direct the camera to different points depending on the waypoints.

    I've searched through the documentation and forums but haven't found a solution yet. Could anyone please guide me on how to achieve variable camera directions along a Cinemachine Dolly Track path?

    Any help or suggestions would be greatly appreciated. Thank you in advance!
  2. Gregoryl


    Unity Technologies

    Dec 22, 2016
    Are you using Timeline? If so, then one way to do what you ask is to create an empty GameObject and animate its position. Then add a Composer Aim behaviour to the vcam and use the empty game object as the LookAt target.