RotateObjectBoneLocalX
Description
Rotates the specified bone around its local X axis, i.e. if the bone were an airplane this command would make it pitch up and down no matter which direction it was facing.
Definition
RotateObjectBoneLocalX( objID, boneIndex, amount )
void agk::RotateObjectBoneLocalX( 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 X axis in degrees, positive looks down, negative looks up.