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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Object | object |
– |
| 1 | float | weight |
– |
| 2 | float | p2 |
– |
| 3 | Vector3 | p3 |
– |
| 4 | Vector3 | gravity |
– |
| 5 | float | p9 |
– |
| 6 | float | p10 |
– |
| 7 | float | buoyancy |
– |
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);// OBJECT::SET_OBJECT_PHYSICS_PARAMS
Function.Call((Hash)0x218206F00920916F, object, weight, p2, p3, gravity, p9, p10, buoyancy);-- OBJECT::SET_OBJECT_PHYSICS_PARAMS
Citizen.InvokeNative(0x218206F00920916F, object, weight, p2, p3, gravity, p9, p10, buoyancy)// OBJECT::SET_OBJECT_PHYSICS_PARAMS
Citizen.invokeNative("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.