Camera::attachToVehicleBone

From RAGE Multiplayer Wiki

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: Int (Bone IDs)
  • relativeRotation: Boolean
  • rotX: Float
  • rotY: Float
  • rotZ: Float
  • offsetX: Float
  • offsetY: Float
  • fixedDirection: Boolean

Example

Client-Side
//todo

See also