I'd like to use ShiftLock's RootPart rotation in my game, however I can't seem to find any documentation of how it works exactly. It rotates the Player's RootPart in the Direction of the camera by activating something in the CameraController, but I can't seem to find in any of the StarterPlayerScripts how it actually manages to rotate.
Anyone know at all?
Alright: found it. After looking at the Wiki, I then looked in the CameraScript to determine how I can use it. It needs the following code to change.
local Settings = UserSettings() local GameSettings = Settings.GameSettings GameSettings.RotationType = Enum.RotationType.CameraRelative
and boom. It's set as CameraRelative.