Quantcast
Channel: Latest Questions by brandonhotdo
Viewing all articles
Browse latest Browse all 108

Mecanim Animation Stop

$
0
0
So here is my animator controller: ![alt text][1] [1]: /storage/temp/47173-untitled-1.png When Attack is triggered the Punch animation is played. In the punch animation when the fist if fully expanded an event is called where the enemy takes damage. However I've coded so that the enemy (another player on the server) can trigger CounterAttack to counter his attack. The problem is that I can't cancel the original player's punch! If I could cancel his punch and then change to a hitted animation (so he falls back from the counter attack) that would be great. I also must make sure that the punch is cancelled so that it does not reach the event that cause damage.

Viewing all articles
Browse latest Browse all 108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>