Skip to main content

ATTACH_OBJECT_TO_CAR_PHYSICALLY

Game.AttachObjectToCarPhysicallyHash0x161B05A9
Usage
Game.AttachObjectToCarPhysically(objectIndex, carIndex, parentBone, childBone, posX, posY, posZ, physicalPivotX, physicalPivotY, physicalPivotZ, rotationX, rotationY, rotationZ, strength, constrainRotation)

Attaches an object to a car using a physical attachment.

Parameters

  • objectIndexintegerint
  • carIndexintegerint
  • parentBoneintegerint
  • childBoneintegerint
  • posXnumberfloat
  • posYnumberfloat
  • posZnumberfloat
  • physicalPivotXnumberfloat
  • physicalPivotYnumberfloat
  • physicalPivotZnumberfloat
  • rotationXnumberfloat
  • rotationYnumberfloat
  • rotationZnumberfloat
  • strengthnumberfloat
  • constrainRotationbooleanbool

Returns

Nothing

Original declaration
// 0x161B05A9
void ATTACH_OBJECT_TO_CAR_PHYSICALLY(int objectIndex, int carIndex, int parentBone, int childBone, float posX, float posY, float posZ, float physicalPivotX, float physicalPivotY, float physicalPivotZ, float rotationX, float rotationY, float rotationZ, float strength, bool constrainRotation);