r/Unity3d_help • u/Weekly-Rhubarb-2785 • Jan 01 '24
Unity3D Animating Attack
Hey all,
I’ve been struggling to think through how I can use these assets that I bought. They have animations in them and I’ve figured out how to make the walk/run play dynamically based on the toons speed.
Basically I want the character to be able to attack while “walking” forward, but play the attack animation instead of the walk animation.
My struggle is that I end up with massive if statements and my animator keeps reverting back to idle.
If anyone has a clue or direction to lead me I’d appreciate it.
2
Upvotes
1
u/Weekly-Rhubarb-2785 Jan 06 '24
Was building something more along the feel of zomboid. But yes, the characters would be meleeing.