- Home /
Timelines and DollyTracks - Set Frame and Pause
Hey guys, first time working with Cinemachine.
I have a Dolly Camera with Track and control it with the Timeline.
0 -> 1 ist the Transition from DollyTrack Path Position 0 to 1 and so on...
When the Timeline ends, I want to navigate via Buttons through the different Clip States and thought about scripting it like this:
public void MoveTo(string clipName)
{
foreach (var clip in timeLineAsset.GetOutputTrack(0).GetClips())
{
if (clip.displayName == clipName)
{
playableDirector.time = clip.end;
//pd.Pause();
[...]
But I want the Camera to move to the position and the Timeline to Pause. I tried the Pause() method, but it stops the Playable Director too fast, so the Camera can't reach its destination on the DollyTrack.
Do you have any idea how i can accomplish this without a Coroutine as it shoud stay as easy as possible.
Answer by seant_unity · Nov 26, 2018 at 12:50 PM
This might work for you -- pauses but keeps the timeline active.
Your answer
![](https://koobas.hobune.stream/wayback/20220612182756im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Peculiar Bleed-through of Exposed References on different Timeline Tracks 2 Answers
How to move track group timeline? 1 Answer
Cinemachine dolly track camera gets off track 1 Answer
How do you move Timeline tracks to a new Timeline? 1 Answer
How to get a track from a timeline from a playable director? 1 Answer