Skip to main content

APPLY_FORCE_TO_CAR

Game.ApplyForceToCarHash0x434611A3
Usage
Game.ApplyForceToCar(carIndex, type, forceX, forceY, forceZ, offsetX, offsetY, offsetZ, component, localForce, localOffset, scaleByMass)

Apply a force to an car.

Parameters

  • carIndexintegerint
  • typeintegerint
  • forceXnumberfloat
  • forceYnumberfloat
  • forceZnumberfloat
  • offsetXnumberfloat
  • offsetYnumberfloat
  • offsetZnumberfloat
  • componentintegerint
  • localForcebooleanbool
  • localOffsetbooleanbool
  • scaleByMassbooleanbool

Returns

Nothing

Original declaration
// 0x434611A3
void APPLY_FORCE_TO_CAR(int carIndex, int type, float forceX, float forceY, float forceZ, float offsetX, float offsetY, float offsetZ, int component, bool localForce, bool localOffset, bool scaleByMass);