Hit() Event Didnt Stop animation

Hello. I implemented the hit method and it didn’t stop my character from throwing a punch when i start to play it. My code is below.
// Animation Event
void Hit()
{

    }

Implementing the Hit() method will get rid of the Animation warning that no compnents handled the Hit() event, but it won’t stop that punch throw.

That is generally caused by the Attack trigger being set in Edit mode. Open your animator, and look at your attacking trigger. Make sure that it isn’t checked.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms