Skip to main content

MLPlayer.SetHeading(number heading)

Sets the player heading. Heading is defined by Z+ axis being the 0 degree and increasing in clockwise.

Parameters:

NameTypeDescription
headingnumberheading in degrees.

Usage

---@type MLPlayer
local mlplayer;

---@type number
local heading;


mlplayer.SetHeading(heading)

Extra Detail