# SetObjectBoneRotation

## Description

Sets the rotation of the specified bone using euler angles in degrees. Alternatively you can use SetObjectBoneRotationQuat to use a quaternion.

## Definition

SetObjectBoneRotation( objID, boneIndex, angx, angy, angz )

void agk::SetObjectBoneRotation( UINT objID, UINT boneIndex, float angx, float angy, float angz )

## Parameters

- objID - The ID of the object that contains the bone.
- boneIndex - The index of the bone to modify
- angx - The X component of the rotation.
- angy - The Y component of the rotation.
- angz - The Z component of the rotation.