Skip to main content

GET_CAR_DEFORMATION_AT_POS

Game.GetCarDeformationAtPosHash0x1F913BC7
Usage
local pDeformationX, pDeformationY, pDeformationZ = Game.GetCarDeformationAtPos(carIndex, x, y, z)

Find out how much a car has deformed at a specific position on the vehicle (local coordinates).

Parameters

  • carIndexintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

  • pDeformationXnumberVector3*
  • pDeformationYnumberVector3*
  • pDeformationZnumberVector3*
Original declaration
// 0x1F913BC7
void GET_CAR_DEFORMATION_AT_POS(int carIndex, float x, float y, float z, Vector3* pDeformation);