I am working on a vessel that has 1 Main thruster along the centerline. It has 2 "fake" thrusters for effects that rotate.
In the atmosphere I want to see the exhaust. But it no atmosphere I want no exhaust. So they get shut down.
The problem is that effects the thruster control. I understand why.
Is there a fix? When ion drive is on it just shows a mesh
thrusters and exhaust created
in the poststep
In the atmosphere I want to see the exhaust. But it no atmosphere I want no exhaust. So they get shut down.
The problem is that effects the thruster control. I understand why.
Is there a fix? When ion drive is on it just shows a mesh
thrusters and exhaust created
Code:
th_main[0] = CreateThruster (_V(0,0,0), _V(0,0,1), MAX_MAIN_THRUST, ph_main, ISP_GAL);
th_main[1] = CreateThruster (_V(1.524,.5724375,.8676109), _V(0,0,1), SYSTEMS_THRUST, ph_main, 0);//fake thruster
th_main[2] = CreateThruster (_V(-1.524,.5724375,.8676109), _V(0,0,1), SYSTEMS_THRUST, ph_main, 0);//fake thruster
thg_main = CreateThrusterGroup (th_main, 3, THGROUP_MAIN);
AddExhaust (th_main[1], 2, .3,.3);
AddExhaust (th_main[2], 2, .3,.3);
Code:
ATMD1= GetAtmDensity () ;
//if ion drive on and in low atmosphere cut fake engines off
}
if ((ATMD1<.09)|| (iondrive==1)){SetAnimation (anim_EXHAUSTfins, thrusterlevel);
SetThrusterLevel(th_main[1],0);
SetThrusterLevel(th_main[2],0);
SetAnimation (anim_EXHAUSTfins, 0);
}