Today I improved walking animations when hittin legs.
My Animation state machine became cleaner than yesterday, because I used Animation Blend Space for animation between running<->walking<->limping right/left.
It takes 2 params, SpeedPercent
between 0 and 1, where:
- 0: standing still
- 1: running at full speed
It also takes LegInjury
between -1 and 1, where:
- -1: left leg fully injured
- 0: no leg injuries
- 1: right leg fully injured
A problem I can see right now is that when falling down players capsule is still standing still. Don’t know how to make it fall with a skeleton, yet.