Entity::applyForceToCenterOfMass: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 18: Line 18:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 17:54, 1 May 2024

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