Gameplay::getHeadingFromVector2d

From RAGE Multiplayer Wiki
Revision as of 12:06, 29 April 2024 by Shr0x (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax

Gets a heading in degrees between x and y points.

Required Params

  • x: float
  • y: float

Return value

  • float

Syntax

mp.game.gameplay.getHeadingFromVector2d(x, y);

Example

//todo


See also