Entity::applyForceToCenterOfMass

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

p6/relative - makes the xyz force not relative to world coords, but to something else
p7/highForce - setting false will make the force really low

Syntax

entity.applyForceToCenterOfMass(forceType, x, y, z, p5, isRel, highForce, p8);

Required Arguments

  • forceType: int
  • x: float
  • y: float
  • z: float
  • p5: Boolean
  • isRel: Boolean
  • highForce: Boolean
  • p8: Boolean

Return value

  • Undefined

Example

// todo

See also