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.

Question VRTK interact highlights while timeline is animation the property (even when idle)

Discussion in 'Timeline' started by studentutu, Jul 14, 2020.

  1. studentutu

    studentutu

    Joined:
    Oct 22, 2017
    Posts:
    105
    I have discovered that timeline still animates the property even when the clip has ended or before the clips begin. This causes all kinds of weird behavior when I'm trying to use VRTK Highlighter on the same object that is being animated by timeline. - changing color both from Timeline and VRTK Highlighter.
    I can't disable the animator or timeline as it has more properties to animate while playing the pre-recorded sound clip. What should I do?
    Please help!
     
  2. studentutu

    studentutu

    Joined:
    Oct 22, 2017
    Posts:
    105
    As for now, we have a small workaround - under the rendered objects that are animated with animator we have its clone so that VRTK highlighter will use the clone instead of the parent. This was we have twice as many objects, which is not ideal, but this way there is no need to pause timeline/animator, rename an object, or something like this. Please, give us better advice if you have one!
     
  3. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Turn off extrapolation on the clip. Holding the animation is the default behaviour of an animation timeline clip before and after the clip, but that can be disabled in the inspector for the clip.