natives.DO 2D RECTANGLES COLLIDE: Difference between revisions
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: | ||
{{ | {{ScriptItem2 | ||
| | |side = client | ||
|games = vc | |games = vc | ||
|type = function | |type = function | ||
|name = natives.DO_2D_RECTANGLES_COLLIDE | |name = natives.DO_2D_RECTANGLES_COLLIDE | ||
| | |arg1 = Vec2 position Screen coordinates (x, y). | ||
|arg2 = Vec2 point2 Second point coordinates (x, y). | |||
| | |arg3 = Vec2 point3 Point3. | ||
| | |arg4 = Vec2 point4 Point4. | ||
| | |desc = performs 2d rectangles collide | ||
| | |||
|return1 = void | |return1 = void | ||
}} | }} | ||
Latest revision as of 18:44, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.DO_2D_RECTANGLES_COLLIDE(Vec2 position, Vec2 point2, Vec2 point3, Vec2 point4)
The natives.DO_2D_RECTANGLES_COLLIDE function is used to performs 2d rectangles collide.
Parameters
| 1) | Vec2 | position | Screen coordinates (x, y). |
| 2) | Vec2 | point2 | Second point coordinates (x, y). |
| 3) | Vec2 | point3 | Point3. |
| 4) | Vec2 | point4 | Point4. |
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.