Search Unity

Bug Timeline messes with animations rotation?

Discussion in 'Timeline' started by bunbea123, Apr 12, 2023.

  1. bunbea123

    bunbea123

    Joined:
    Oct 5, 2022
    Posts:
    2
    Hi,

    I currently have an animation of a weapon dragging along the ground. It dragging along the ground is important for the effect I'm trying to achieve.

    As soon as I add the animation track onto the timeline, and the weapons animator into it, all the animations suddenly randomly changes rotation, making it clip through the ground and move in the wrong way.

    Is there anyway to keep the animations original position and rotation while being played from the timeline?

    Thank you.
     
  2. akent99

    akent99

    Joined:
    Jan 14, 2018
    Posts:
    588
    I would check which properties the animation affects. Sometimes I need tricks like putting the object inside a container object. That way the character owns the container rotation and the weapon owns its own root rotation inside the container. I am not sure it’s your problem, but it might be worth trying.
     
  3. bunbea123

    bunbea123

    Joined:
    Oct 5, 2022
    Posts:
    2
    I looked onto the animation itself and found the issue, thank you very much!