Search Unity

Unity3D attack animation Root Motion and Player movement

Discussion in 'Animation' started by ryuz1337, Dec 3, 2019.

  1. ryuz1337

    ryuz1337

    Joined:
    Apr 8, 2019
    Posts:
    6
    I bought the asset from the asset store and retargeted it to my model.
    I want to achieve that my model is not able to move until the animation is finished and I was hoping that this will be achieved with Root Motion applied so I don't have to control the movement through scripts because it can get really messy.
    However, I get the animation working correctly, it even changes the position of the player model based on the animation movement, but I am still able to move the model around with my own script which I don't want to happen.

    I'm using Character Controller for this action. Forgive me if I'm ignorant and if I'm missing anything essential I should know but I'm clueless for the past 2 days on how to get this done.

    Any help would be appreciated!