Hello everybody. I already saw some of us proposed alternative solutions for rotation.
I’ve tried the other solutions I’ve saw but I was not satisfied, so I wanted to try a new way. It is just 2 lines of code, but in my humble opinion it makes the rotation a lot smoother, especially when cliccking fast or behind the character.
Please don’t mind my reorganized code, I put some serialized values because I like them to be in the inspector. I’ve highlighted the 2 interested lines of code. Feel free to try it and let me know what you think about it.