# RotateObjectBoneLocalZ

## Description

Rolls the specified bone around its local Z axis, i.e. if the bone were an airplane this command would make it do a barrel roll no matter which direction it was facing.

## Definition

RotateObjectBoneLocalZ( objID, boneIndex, amount )

void agk::RotateObjectBoneLocalZ( UINT objID, UINT boneIndex, float amount )

## Parameters

- objID - The ID of the object that contains the bone.
- boneIndex - The index of the bone to modify.
- amount - The angle to rotate on the local Z axis in degrees, positive rolls anti-clockwise, negative rolls clockwise.