Low HP limping effect

I’ve been having issues creating a script that blends the normal walking animation with a slightly edited version that has the character limping when the character health is low.

I currently have it so when the health drops below 50 HP it will change the animation weight to match the health. The only issue is that it blends weirdly with the default animation and I can’t figure out how to fix it.

I’ve tried messing with the animation priority and stuff and nothing will work.

Example of the issue can be found here:

Anybody have some possible solutions?

2 Likes

Have you tried setting the animation’s priority to Action2?

1 Like

Oh, no I haven’t. I’ll try it.

Thanks lol. Guess I should’ve tried more priorities before i made the post.

Any priority above ‘Movement’ should do the trick as that is what the default ‘Animate’ script uses.

1 Like

That’s true, but he said that he tried changing the animation’s priority. So I took a guess that he already tried ‘AnimationPriority.Action’.

Some didn’t work. Not sure why, it’s strange.

1 Like