Code:
static MGROUP_ROTATE frontRightSpinForward(0, frontRightGroups, 1, axeRightFront, _V(1, 0, 0), 360 * RAD);
static MGROUP_ROTATE frontRightRight(0, frontRightGroups, 1, axeRightFront, _V(0, 1, 0), 75 * RAD);
I have 2 animations like above. 1 animation is to make the wheel spin forward, the other is to turn the wheel right. How do I define the animations such that the wheel can be turned and spin forward at the same time?
The animations work individually. However when I propagate the spin animation with SetAnimation and turn right the animation gets messed up and the axis of rotation are not right.