Skip to main content

GET_HEADING_FROM_VECTOR_2D

Game.GetHeadingFromVector2dHash0x09DD61E1
Usage
local heading = Game.GetHeadingFromVector2d(x, y)

Gets a heading in degrees between the x and y vector components.

Parameters

  • xnumberfloat
  • ynumberfloat

Returns

  • headingnumberfloat*
Original declaration
// 0x09DD61E1
void GET_HEADING_FROM_VECTOR_2D(float x, float y, float* heading);