Skip to main content

APPLY_FORCE_TO_OBJECT

Game.ApplyForceToObjectHash0x438F6ECB
Usage
Game.ApplyForceToObject(objectIndex, applyType, forceX, forceY, forceZ, offsetX, offsetY, offsetZ, component, localForce, localOffset, scaleByMass)

Apply a force to an object.

Parameters

  • objectIndexintegerint
  • applyTypeintegerint
  • forceXnumberfloat
  • forceYnumberfloat
  • forceZnumberfloat
  • offsetXnumberfloat
  • offsetYnumberfloat
  • offsetZnumberfloat
  • componentintegerint
  • localForcebooleanbool
  • localOffsetbooleanbool
  • scaleByMassbooleanbool

Returns

Nothing

Original declaration
// 0x438F6ECB
void APPLY_FORCE_TO_OBJECT(int objectIndex, int applyType, float forceX, float forceY, float forceZ, float offsetX, float offsetY, float offsetZ, int component, bool localForce, bool localOffset, bool scaleByMass);