I understand most of what is going on but it’s the last bit where the sprite stays flipped that I simply can’t get my head around that someone might be able to explain in simpler terms? I understand how it makes sense to use a bool to check if we’re moving. I understand that Mathf.Abs disregards negative values and returns only positives. I understand that to check if is bigger than 0, but using Mathf.Epsilon instead, which is very close but not quite zero.
But why does that make the sprite stay flipped? My brain refuses to comprehend why this happens so someone please try and make me understand.