How do you disable the mouse rotation?

I was searching on the forums and other pages, but I didn’t found how to disable the mouse rotation for the player, I only want to unable the rotation not the buttons. I hope someone helps me, because I need to know this to advance on a project

What on earth are you talking about?

Are you talking about Prop Hunt? If so, say that.

No, it’s not about prop hunt, but you gave me an idea LUModder. Thanks

Do you mean looking around with the mouse and having it change which way you move?

Yes, that is :smiley:

If I understand correctly, you’re looking for a free-camera where you can look where-ever without the character changing position until the character moves and when the character moves it’ll move towards the angle the camera is currently set at?

CalcView controls the camera. Hook into CreateMove and return true to prevent the character from moving when the mouse moves, use the mouse-movement to adjust angle and update camera.

Oh!, I never knew that CalcView could do that. Thank you very much you solved my problem :smiley: