SET_OBJECT_PHYSICS_PARAMS
Adjust the physics parameters of a prop, or otherwise known as "object". This is useful for simulated gravity. Other parameters seem to be unknown. p2: seems to be weight and gravity related. Higher value makes the obj fall faster. Very sensitive? p3: seems similar to p2 p4: makes obj fall slower the higher the value p5: similar to p4
OBJECTBuild 1207
Signature
lua
SetObjectPhysicsParams(object, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Object | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — |
Usage
lua
SetObjectPhysicsParams(object, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
