RDR3 match
MISC::GET_LINE_PLANE_INTERSECTION
0x3BD7DA745495FB31 ·RVA 0x03E82560
Signature
BOOL GET_LINE_PLANE_INTERSECTION(
Vector3 p0,
Vector3 p3,
Vector3 p6,
Vector3 p9,
float* p12
);
The scripts pass 9 values to this native; the decoded signature lists 5 (arguments the game doesn't read are left out).
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | p0 |
– |
| 1 | Vector3 | p3 |
– |
| 2 | Vector3 | p6 |
– |
| 3 | Vector3 | p9 |
– |
| 4 | float* | p12 |
– |
Returns
BOOL
Notes
- p0, p1 and p2 in RDR3 are one Vector3 in GTA VI.
- p3, p4 and p5 in RDR3 are one Vector3 in GTA VI.
- p6, p7 and p8 in RDR3 are one Vector3 in GTA VI.
- p9, p10 and p11 in RDR3 are one Vector3 in GTA VI.
Call it
// MISC::GET_LINE_PLANE_INTERSECTION
auto result = invoke<BOOL>(0x3BD7DA745495FB31, p0, p3, p6, p9, &p12);// MISC::GET_LINE_PLANE_INTERSECTION
bool result = Function.Call<bool>((Hash)0x3BD7DA745495FB31, p0, p3, p6, p9, p12);-- MISC::GET_LINE_PLANE_INTERSECTION
local result = Citizen.InvokeNative(0x3BD7DA745495FB31, p0, p3, p6, p9, p12)// MISC::GET_LINE_PLANE_INTERSECTION
const result = Citizen.invokeNative("0x3BD7DA745495FB31", p0, p3, p6, p9, p12);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.