Added and animated all 3 arms. But only the first and second parts animate correctly. Have gotten the third pieces to follow them.
Not sure about the white robotic arms. Haven't seen any good views of the newest version
Code:
static UINT ARM2A_groups[1] = {40};//arm2a
static MGROUP_ROTATE ARM2A (0, ARM2A_groups, 1, _V (0, .717842, 1.606504), _V (1, 0, 0), (float) (0.75*PI));
static UINT ARM2B_groups[1] = {39};//arm2b
ARM2B = new MGROUP_ROTATE (0, ARM2B_groups, 1, _V (0, 1.143031 , .719682), _V (-1, 0, 0), (float) (0.90*PI));
static UINT ARM2C_groups[2] = {38,76};//136// static MGROUP_ROTATE ARM2C (0, ARM2C_groups, 2, _V (0, .743874, 1.615181), _V (1, 0, 0), (float) (0.45*PI));
ARM2C= new MGROUP_ROTATE(0, ARM2C_groups, 2, _V (0, .7456095, 1.613446), _V (1, 0, 0), (float) (0.90*PI));
anim_ARM2 = CreateAnimation (0.0);
anim_ARM2A = CreateAnimation (0.0);
anim_ARM2B = CreateAnimation (0.0);
anim_ARM2C = CreateAnimation (0.0);
parent = AddAnimationComponent (anim_ARM2, .6, 1, &ARM2A);
AddAnimationComponent (anim_ARM2, .3, .6, ARM2B, parent);
AddAnimationComponent (anim_ARM2, .3, .6, ARM2C, parent);
Not sure about the white robotic arms. Haven't seen any good views of the newest version