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

Timeline, controlling on collision, ping pong not working

Discussion in 'Timeline' started by yoannG, Aug 7, 2018.

  1. yoannG

    yoannG

    Joined:
    Jul 14, 2013
    Posts:
    15
    Hello !
    I am a beginner with unity, and still wondering about how to use the timeline well.

    I have a track on which a light is supposed to go from white to blue in Ping Pong.
    First trouble is that for some reason it just makes the loop behaviour instead of going backwards at the end of the track.. I tried setting my playable director to loop, hold and none but it did nothing like i wanted :S.

    So, on trigger enter with a collider, i want to the animation to stop on whatever value it is at the moment, start playing in normal animation direction and hold. By normal animation direction i mean that if it was currently going backward in pingpong mode, it should go now forward (and stop).

    I guess i don't know what are all the tools to do these things, i hope someone can help..
     
  2. yoannG

    yoannG

    Joined:
    Jul 14, 2013
    Posts:
    15
    Last edited: Aug 7, 2018