| Property | Value |
|---|---|
| Native Name | _ATTACH_CAM_TO_VEHICLE_BONE |
| Hash | 0x8DB3F12A02CAEF72 |
| Return Type | void |
| Parameters | cam (Cam), vehicle (Vehicle), boneIndex (int), relativeRotation (BOOL), rotX (float), rotY (float), rotZ (float), offX (float), offY (float), offZ (float), fixedDirection (BOOL) |
Description: This native works with vehicles only. Bone indexes are usually given by this native GET_ENTITY_BONE_INDEX_BY_NAME.
Parameters
cam(Cam) — The camera handle.vehicle(Vehicle) — The vehicle handle.boneIndex(int)relativeRotation(BOOL) — Whether or not the camera rotation will relative the vehicle rotation.rotX(float) — The X rotation.rotY(float) — The Y rotation.rotZ(float) — The Z rotation.offX(float) — The X offset direction.offY(float) — The Y offset direction.offZ(float) — The Z offset direction.fixedDirection(BOOL) — Whether or not the camera direction will relative to the vehicle direction.