Thanks. The code is stumping me. The OBSS is attached. But it is not moving but the attachment is. The position is not changing though?
Code:
VECTOR3 arm_tip[6], armobss_tip[3];
Animation defintion
Code:
//mpmobss
static UINT OBSSmpm[1] = { 0 };
static MGROUP_ROTATE OBSS_A(7, OBSSmpm, 1,_V(2.544, 1.187, 9.613), _V(0, 0, 1), (float)(-30 * RAD)); // -180 .. +180
anim_MPMOBSS = CreateAnimation(0.0);
AddAnimationComponent(anim_MPMOBSS, 0, 1, &OBSS_A);
obss_anim[0] = new MGROUP_ROTATE(LOCALVERTEXLIST, MAKEGROUPARRAY(armobss_tip), 3, OBSS_POS, _V(0, 0, 1), (float)(-30 * RAD));
AddAnimationComponent(anim_MPMOBSS, 0, 1, obss_anim[0]);
if MPM is moving move attachment
Code:
if (OBSS_proc > 0 && OBSS_proc < 1) {
SetAttachmentParams(OBSS_attach, armobss_tip[0], armobss_tip[1] - armobss_tip[0], armobss_tip[2] - armobss_tip[0]);
//armOBSS_moved = false;
}
tip is set up:
Code:
armobss_tip[0] = OBSS_POS;
armobss_tip[1] = OBSS_POS + _V(0.0, 1.0, 0.0);
armobss_tip[2] = OBSS_POS + _V(0.0, 0.0, 1.0);
---------- Post added 08-27-18 at 05:42 AM ---------- Previous post was 08-26-18 at 05:15 PM ----------
So I got the OBSS to roll out
Code:
//mpmobss
static UINT OBSSmpm[1] = { 0 };
static MGROUP_ROTATE OBSS_A(7, OBSSmpm, 1,_V(2.544, 1.187, 9.613), _V(0, 0, 1), (float)(-30 * RAD)); // -180 .. +180
anim_MPMOBSS = CreateAnimation(0.0);
obssparent = AddAnimationComponent(anim_MPMOBSS, 0, 1, &OBSS_A);
obss_anim[0] = new MGROUP_ROTATE(LOCALVERTEXLIST, MAKEGROUPARRAY(armobss_tip), 3, OBSS_POS, _V(0, 0, 1), (float)(0.0));
AddAnimationComponent(anim_MPMOBSS, 0, 1, obss_anim[0], obssparent);
So I added the Starboard MPM rollout and attach to the control panel
So in SF They have this in the scn:
Code:
PAYLOAD_MASS1 0.0000
PAYLOAD_MASS2 0.0000
PAYLOAD_MASS3 0.0000
From the manual
"PAYLOAD_MASS1 <xxxxx.xxx> Allows the addition of various payloads’ mass to the
vehicle. <xxxxx.xxx> is the payload mass, in
kilograms.
NOTE: This will associate the mass with the object
attached to the payload 1 position in the cargo bay.
Vehicle performance, particularly during ascent, will
suffer as the payload mass is increased. When a
payload is released on orbit, the mass is released as
well. If an object is grappled on-orbit, the mass IS
NOT added to the vehicle until a scenario file is
made.
PAYLOAD_MASS2 <xxxxx.xxx> This will associate the mass with the object attached
to the payload 2 position in the cargo bay, similar to
the usage of “PAYLOAD_MASS1” referenced
above.
PAYLOAD_MASS3 <xxxxx.xxx> This will associate the mass with the object attached
to the payload 3 position in the cargo bay, similar to
the usage of “PAYLOAD_MASS1” referenced
above."
So I guess it just adds the mass to the total mass of the shuttle?
---------- Post added 08-28-18 at 04:39 AM ---------- Previous post was 08-27-18 at 05:42 AM ----------
So added if payload is mentioned in the scn add it to the mass.
An Issue that is also in the SSU with the rms? Donamy had mention this but Iam not sure what.
I got the rms to translate