Gameplay::getHeadingFromVector2d

From RAGE Multiplayer Wiki
Revision as of 21:06, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

dx = x1 - x2
dy = y1 - y2

Syntax

mp.game.gameplay.getHeadingFromVector2d(dx, dy);

Required Arguments

  • dx: float
  • dy: float

Return value

  • float

Example

// todo

See also

Template:Gameplay s function c