The issue is that I’m getting the following behavior:
You can see at the end of the GIF how the player starts to move weirdly, and that is being caused by the lerp. Ideally I’d like to avoid using modulo as well.
Lerping angles is risky, because angles do not have unique numerical representation, e.g. 10° = 370°. If you want to avoid modulo (I have no idea why, is it too scary to use it?) you can lerp directions, not angles. Just do not forget to normalize the resulting vector and hope that you will never lerp between two perfectly opposite vectors.
this is in my opinion better than lerping because it has velocity and is therefore interruptible, but dampE is also overflow safe, it takes the shortest path between two angles. it has quaternion damp as well. for anything that takes input i would prefer it over lerp, especially when you change directions quickly because it will at least have some momentum, a little similar to how spring physics work.