ATTACH_OBJECT_TO_CAR_PHYSICALLY
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
objectIndexintegerintcarIndexintegerintparentBoneintegerintchildBoneintegerintposXnumberfloatposYnumberfloatposZnumberfloatphysicalPivotXnumberfloatphysicalPivotYnumberfloatphysicalPivotZnumberfloatrotationXnumberfloatrotationYnumberfloatrotationZnumberfloatstrengthnumberfloatconstrainRotationbooleanbool
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);