Im trying to figure out how to disable character movement for the duration of attack animation (or a different state, like a power up or crouch) which is set up through animation montage. Whenever I click left mouse button, attack anim plays but im also able to move and rotate the character in space with WASD keys (locomotion).
Ive created a Disable Movement variable and tried connecting it in the attack state in Event Graph, but character still moves. How would Unreal know I want to freeze the character in place with that node? Sorry if this sounds silly, Im a blueprint noob.
If Im able to complete this next thing I need is to add blend animations from run cycle to idle and from idle to run and other various blends. Also trying to figure out how to build that in state machines/ blueprints.
edit: managed to stop the movement when performing attack animation, but cannot restore the movement, character remains disabled.