Hit reaction animations???
I'm trying to have diffident hit animations. im making a fighting game and i would like if i punch ememy in the stomach it plays the he holds his stomach animation but if i trip kick, it plays him falling on ground animation???
-
One way to accomplish this would be to have your player puppet's attacks incorporate wireless transmitters for each attack. You could label one "kick" and the other one "punch".
Then on the enemy, you could use wireless receivers to look for those signals. Use an and gate to combine them with the health manager's negative output so it only triggers the desired animation when the puppet is taking damage and being hit by the corresponding attack. -
andymationb.... i really appreciate this. I pretty much did exactly what you said and i got it working. Thank you
-
You're very welcome. Glad it worked out!
請登入寫評論。