Gameplay::getHeadingFromVector2d

From RAGE Multiplayer Wiki
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