RaeJjin0
Member
Hello guys
I would like to setup my character in a way that the player could actually attack while in movement, But then, when the character is attacking, the player could Not move again until the attack animation ends. (the character will then move only thanks to the animations root motion, the player couldn't use the WASD nor joystick to move him until the attack animation ends).
i've already tried to setup the animator in a way that all movements (walk/run etc...) animations only operate when the "Slot0ItemStateIndex is Not Equal to 2", without success, the character gets completely and undefinitely stuck when i try to move while attacking (probably because i haven't found a solution to only cancel the movement Until the animation ends )
Thanks in advance, and sorry for your time !
I would like to setup my character in a way that the player could actually attack while in movement, But then, when the character is attacking, the player could Not move again until the attack animation ends. (the character will then move only thanks to the animations root motion, the player couldn't use the WASD nor joystick to move him until the attack animation ends).
i've already tried to setup the animator in a way that all movements (walk/run etc...) animations only operate when the "Slot0ItemStateIndex is Not Equal to 2", without success, the character gets completely and undefinitely stuck when i try to move while attacking (probably because i haven't found a solution to only cancel the movement Until the animation ends )
Thanks in advance, and sorry for your time !