UCC v2.4.5
Unity 2021.2.8f1
Problem: Inconsistent footstep audio
Footsteps will play when attacking with Force Root Motion Position to true while providing movement input (even though it's effectively ignored).
Footsteps will not play if there is no movement input being applied, though.
This is reproducible in the demo with the following steps:
I think this is due to the
I'm not strongly opinionated on whether the footsteps should happen or not during root motion (although it can be audibly busy with footsteps and weapon sounds at the same time...). It's just inconsistent based on whether input is being applied or not.
Edit: This probably belongs in General Discussion since it's not really a question. Unless, I ended it with "Is this expected behavior?"
Unity 2021.2.8f1
Problem: Inconsistent footstep audio
Footsteps will play when attacking with Force Root Motion Position to true while providing movement input (even though it's effectively ignored).
Footsteps will not play if there is no movement input being applied, though.
This is reproducible in the demo with the following steps:
- Load the demo
- Select 3rd Person
- Start punching without holding any movement keys. There are no footsteps (expected)
- Start punching while holding movement keys. The character doesn't move, but there are now footsteps being played (unexpected).
I think this is due to the
Moving
property in UltimateCharacterLocomotion.cs (line 258) returning true if m_InputVector.sqrMagnitude > 0.001f;
. This will always return true if input is being provided, regardless of the root motion setting.I'm not strongly opinionated on whether the footsteps should happen or not during root motion (although it can be audibly busy with footsteps and weapon sounds at the same time...). It's just inconsistent based on whether input is being applied or not.
Edit: This probably belongs in General Discussion since it's not really a question. Unless, I ended it with "Is this expected behavior?"
Last edited: