RotationType
Controls how a player character's body rotation is determined — relative to the camera direction or relative to the movement direction.
Items 2
| History | Name | Value | Description | |
|---|---|---|---|---|
| 198 | MovementRelative | 0 | The character's body rotation follows the direction of movement. | |
| 198 | CameraRelative | 1 | The character's body rotation continuously follows the camera's look direction. |
Description
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.
History 3
- 198 Add MovementRelative
- 198 Add CameraRelative
- 198 Add RotationType