Object::setPhysicsParams

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Known parameters:

p1 = weight, units unknown
p6 = object (downwards? (No shit, Sherlock...)) gravity

p11 = buoyancy, affects how much the object floats. set to at least 2.0f to make an object float

Syntax

object.setPhysicsParams(weight, p2, p3, p4, p5, gravity, p7, p8, p9, p10, buoyancy);

Required Arguments

  • weight: float
  • p2: float
  • p3: float
  • p4: float
  • p5: float
  • gravity: float
  • p7: float
  • p8: float
  • p9: float
  • p10: float
  • buoyancy: float

Return value

  • Undefined

Example

// todo

See also