RotateObjectBoneLocalY
Description
Rotates the specified bone around its local Y axis, i.e. if the bone were an airplane this command would make it turn left and right no matter which direction it was facing.
Definition
RotateObjectBoneLocalY( objID, boneIndex, amount )
void agk::RotateObjectBoneLocalY( uint32_t objID, uint32_t 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 Y axis in degrees, positive turns right, negative turns left.