natives.GET ANGLE BETWEEN 2D VECTORS: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|side = client
|games = vc
|games = vc
|type = function
|type = function
|name = natives.GET_ANGLE_BETWEEN_2D_VECTORS
|name = natives.GET_ANGLE_BETWEEN_2D_VECTORS
|parameters = Vec2 position, Vec2 point2
|arg1 = Vec2 position Screen coordinates (x, y).
|parameter1 = Vec2 position Screen coordinates (x, y).
|arg2 = Vec2 point2 Second point coordinates (x, y).
|parameter2 = Vec2 point2 Second point coordinates (x, y).
|desc = retrieves angle between 2d vectors
|usage = retrieves angle between 2d vectors
|return1 = void
|return1 = void
|returnFail1 = void
}}
}}

Latest revision as of 18:48, 13 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.GET_ANGLE_BETWEEN_2D_VECTORS(Vec2 position, Vec2 point2)
The natives.GET_ANGLE_BETWEEN_2D_VECTORS function is used to retrieves angle between 2d vectors.

Parameters

1) Vec2 position Screen coordinates (x, y).
2) Vec2 point2 Second point coordinates (x, y).

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.