RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_OBJECT_PHYSICS_PARAMS

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 void

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details