UserGameSettings
UserGameSettings : Instance
Overview
A global settings Object that contains information related to in-game control behavior.
Properties
RotationType
Enum.RotationType
This property determines how the client's character rotates.
This allows you to choose whether the character automatically rotates to follow the camera's direction or moves independently based on user input.
Code Samples
local UserGameSettings = UserSettings().GameSettings
UserGameSettings.RotationType = Enum.RotationType.CameraRelative
CharacterTurnRate
number
When RotationType is set to CameraRelative, you can also adjust the speed at which the character rotates to match the camera's direction.
The default value is -1, which means the character rotates instantly.
Code Samples
local UserGameSettings = UserSettings().GameSettings
UserGameSettings.CharacterTurnRate = 200
Methods
Events
See also
TPS Strafing SystemLast updated