Search Unity

Question Implementing Pull Animation

Discussion in 'Animation' started by GRENADEable, Feb 22, 2021.

  1. GRENADEable


    Apr 19, 2017
    Heyoo first forum post so I hope I know how to use this xD.

    So I am implementing the player's pull and push mechanic in 3D space, I have made the mechanic work but I am trying to figure out how to make it work in animation. I have the push and pull animation and added them in the blend tree. I got the push animation to work but can't seem to figure out how to implement the pull animation. So I have resorted to asking for help here.

    I am setting the blend tree value according to the input pressed from the horizontal and vertical axis.

    My first approach was setting the pull animation in the negative value of the blend tree but I have no idea where to start after that. Do let me know if there is a better way, thanks :D