Skip to main content

MLPlayer.Rotate(number rotation)

Rotates player root by given degree.

Parameters:

NameTypeDescription
rotationnumberrotation angle in degree.

Usage

---@type MLPlayer
local mlplayer;

---@type number
local rotation;


mlplayer.Rotate(rotation)