Log In
Sign Up
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

#TypeNameNotes
0Vector3p0 –
1Vector3p3 –
2Vector3p6 –
3Vector3p9 –
4float*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);

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.