1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

RotationType

RotationType is used by UserGameSettings.RotationType to specify how the local player's character orients its body. With RotationType.MovementRelative (the default), the character turns to face whichever direction it is moving. With RotationType.CameraRelative, the character's body continuously aligns with the camera's look direction, enabling first-person-style aiming where the character faces wherever the player is looking regardless of movement direction.

Items

NameValueDescription
MovementRelative0The character's body rotation follows the direction of movement.
CameraRelative1The character's body rotation continuously follows the camera's look direction.

MovementRelative

The character's body rotation follows the direction of movement.

FieldValue
value0

CameraRelative

The character's body rotation continuously follows the camera's look direction.

FieldValue
value1