Camera::attachToVehicleBone
Attaches a camera to the bone specified.
Syntax
``` camera.attachToVehicleBone(handle, boneIndex, relativeRotation, rotX, rotY, rotZ, offsetX, offsetY, offsetZ, fixedDirection); ```
Parameters
- handle: Vehicle handle or object
- boneIndex: ([Bone IDs](/bones))
- relativeRotation:
- rotX:
- rotY:
- rotZ:
- offsetX:
- offsetY:
- fixedDirection: