Camera::attachToVehicleBone

From RAGE Multiplayer Wiki
Revision as of 02:25, 1 June 2022 by Shr0x (talk | contribs) (Created page with "__NOTOC__ Attaches a camera to the bone specified. == Syntax == <pre> camera.attachToVehicleBone(handle, boneIndex, relativeRotation, rotX, rotY, rotZ, offsetX, offsetY, offs...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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