Confused even more.
The animation exist already in the Orion606sm vessel.
It just needs to be told what animation values need to be.
Thought this did that:
except new animation names
The animation exist already in the Orion606sm vessel.
Code:
void ORION2NEWSM::DefineAnimations(void)
{
anim_HGA_SM = CreateAnimation(0.0);
static UINT HGAGrp[4] = { GRP_HGA1, GRP_HGA2, GRP_HGA3, GRP_HGA4 };
static MGROUP_ROTATE HGA(5, HGAGrp, 4, _V(0, 1.948546, .2253037), _V(1, 0, 0), (float)(90 * RAD));
AddAnimationComponent(anim_HGA_SM, 0, 1, &HGA);
It just needs to be told what animation values need to be.
Thought this did that:
Code:
v->SetAnimation(anim_JOINT2, JOINT2_proc);
v->SetAnimation(anim_JOINT1, JOINT1_proc);
v->SetAnimation(anim_JOINT7, ARM3_proc);
v->SetAnimation(anim_HGA, HGA_proc);