What is the location of HumanoidRootPart Rotation Methods in Roblox Camera Scripts?

Hey, all.
I’m currently working on a force shift lock system and things are working well. However, I’d like to create a new “mode” to shift lock. In native shift lock, your mouse is locked, your camera is offset and your HumanoidRootPart is automatically CFramed like you are in the first-person mode. I’d like to change this. I’d like to have the Offset and Mouse locked while still maintaining the classic move orientated rotation just like the classic third person. I’ve of course forked the default scripts, which isn’t recommended, however, it’s the only and easiest way for me to still provide players with camera utilities they are familiar with.

If anyone knows where the HumanoidRootPart rotation method is, I’d greatly appreciate it. I’ve been trying to find it for about 2 hours and have had no luck. I’ve found VR support which is different.

Many thanks for any help!

You can toggle the shift lock style rotation in UserGameSettings. Look at the RotationType property. UserGameSettings | Documentation - Roblox Creator Hub

1 Like

I’ve tried this it just seems to just not move the character at all, do I need humanoid.AutoRotate to be on as well?

EDIT: ^ yes autorotate has to be enabled, I over looked that. Thank you for the help, I just learned a new property. :grin:

1 Like