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. Dismiss Notice

How do I get Dolly to turn on just before switching to the desired camera on the timeline?

Discussion in 'Cinemachine' started by svetlanaaksenova05, Nov 5, 2020.

  1. svetlanaaksenova05

    svetlanaaksenova05

    Joined:
    Oct 14, 2020
    Posts:
    11
    hi everybody.
    My camera which is strapped to the Dolly of the starts immediately after starting. I need to start a certain path for example from 10 seconds.
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,233
    Can you rephrase your question? I'm having trouble understanding what you're asking.

    Also: because there are many different applications and Cinemachine can be used in many ways, a little context about your project would be helpful.
     
  3. svetlanaaksenova05

    svetlanaaksenova05

    Joined:
    Oct 14, 2020
    Posts:
    11

    I need to run the camera on the track at a certain time. (Dolly cart with virtual camera and Dolly track)

    in other words, the camera should not start moving when the "play"mode is enabled.
     
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,233
    Set the speed in the dolly cart initially to 0. When it's time to move, set the speed to non-zero.
     
  5. svetlanaaksenova05

    svetlanaaksenova05

    Joined:
    Oct 14, 2020
    Posts:
    11
    Can you tell me how to do this?
     
  6. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,233
    You can add a custom script to do this, or animate the speed in Timeline. Do you have a timeline running in this context?
     
  7. svetlanaaksenova05

    svetlanaaksenova05

    Joined:
    Oct 14, 2020
    Posts:
    11
    Yes I use a timeline
    what value can I put the speed there?
     
  8. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,233
    Drag:

    upload_2020-11-12_8-57-17.png

    Drop:

    upload_2020-11-12_8-57-40.png

    Select:

    upload_2020-11-12_8-58-17.png

    Record:

    upload_2020-11-12_8-58-45.png

    Drag timeline current frame and modify value to set keyframes:

    upload_2020-11-12_8-59-51.png