Search Unity

Bug Apply Scene Offsets not respected under certain conditions.

Discussion in 'Timeline' started by TimmyTheTerrible, Oct 6, 2022.

  1. TimmyTheTerrible

    TimmyTheTerrible

    Joined:
    Feb 18, 2017
    Posts:
    186
    I was attempting to use animation rigging and timeline together, when I stumbled into a curious situation I'm wondering if others can replicate.

    Essentially, create a timeline.
    Add a humanoid actor.
    Give him a simple animation clip.
    Make sure to set the ease in and ease out time to something other than zero.
    Now add an object as a child to the actor.
    Add an override track to the actor and give it an avatar mask that masks off root motion of the override track.
    Give the object you added as a child of the actor a single keyframe for its position or rotation.

    What I would expect to happen is that the timeline, with ease in and out set, should blend in from the actor's scene position (wherever that may be) at the time the timeline takes over.

    Instead, what happens is during the ease in and ease out phase of the timeline, the actor begins to lerp back to the world/parent origin. On top of this, the actors position resets to world/parent origin at the end of the timeline, instead of picking up from its new scene position, which is what I would anticipate happening...

    Or am I doing something wrong?