Idle animation reset oddities
As a consequence of certain changes in 0.45.0 - specifically mIdleState not being changed directly until really necessary to avoid crossbow animation glitches - there are issues with the idle animation being technically reenabled one frame too late in certain conditions, which leads to the view or the character looking weird for a brief moment, and the first person view shifting to weird positions. It's noticeable in these two cases mainly:
- Landing (in first person view). Right now idle animation is not being reset during landing to avoid the issue, but there must be a smarter solution.
- Attacking. It doesn't always happen, but you can seldom notice the issue on attacking NPCs and the player in first person view.
I have tried to look into this for a while but haven't come to a satisfying fix (to be honest the whole character controller is pretty messy at the moment).