Lock rotation at angle

Hi again.

i solved my problem with your help thx a lot for this.

I needed to change my function so that it worked with my mouseposition and gatling.

Here is the way it worked for me.