Log In
Sign Up
RDR3 match

OBJECT::SET_OBJECT_PHYSICS_PARAMS

0x218206F00920916F ·RVA 0x04C17450

Signature

void SET_OBJECT_PHYSICS_PARAMS(
    Object object,
    float weight,
    float p2,
    Vector3 p3,
    Vector3 gravity,
    float p9,
    float p10,
    float buoyancy
);

The scripts pass 11 values to this native; the decoded signature lists 8 (arguments the game doesn't read are left out).

Parameters 8

#TypeNameNotes
0Objectobject –
1floatweight –
2floatp2 –
3Vector3p3 –
4Vector3gravity –
5floatp9 –
6floatp10 –
7floatbuoyancy –

Returns

void Nothing.

Notes

  • p3, p4 and p5 in RDR3 are one Vector3 in GTA VI.
  • gravity, p7 and p8 in RDR3 are one Vector3 in GTA VI.

Call it

// OBJECT::SET_OBJECT_PHYSICS_PARAMS
invoke<Void>(0x218206F00920916F, object, weight, p2, p3, gravity, p9, p10, buoyancy);

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.