So I’ve been modifying the default Roblox CameraScript. I’ve made it so it now forces mouse lock to be on and I’ve made it so I can set a custom offset for the mouse lock but what I want to do now is make it so your character still faces the direction they move in even with mouse lock enabled. Right now mouse lock forces the character to face the same direction as the camera but I don’t want that.
If someone could tell me where in Roblox’s code this is so I can change it that would be great.
I’ve noticed that if you disable AutoRotate in your character’s humanoid that it stops doing that, but it also stops rotating altogether. I’ve used the Find All function to try and find where anything references AutoRotate and the only references to the property is in an unused script so I’m really confused how it knows if it should rotate the character or not when in first person/ mouse lock.
Thanks for any help.