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 Reversed animation moves the box more than normal animation

Discussion in 'Animation' started by TiggyFairy, Oct 25, 2022.

  1. TiggyFairy

    TiggyFairy

    Joined:
    Dec 22, 2019
    Posts:
    256
    So I have a standard unity cube stretched out into a 10x2x1 'portcullis' for testing. The raising animation seems to work perfectly. However, the lowering animation - literally the same animation with -1 speed - overextends. This means that when you lower the portcullis, it drops too far. Into the terrain. The more you open and shut it, the worse it gets until the gate is impassable. Also, occasionally, the 'go up' animation will send the portcullis on an adventure into the sky for no reason.

    Any ideas? My settings for the portcullis are beneath this. It's attached to the gate object, if that makes any difference.

    upload_2022-10-25_19-57-48.png

    upload_2022-10-25_19-58-58.png