Interceptor
Well-known member
Thanks for the info,Keep up the great work.
How about this one:I won't because the mesh for the current one is not very good. If I get a better mesh I can easily make it if I can get the appropriate values. The source code is included for those who wish to make their own Tug like vessel too.
void JBTB1200::clbkPreStep (double simt, double simdt, double mjd){
//UMMU Controls
if(Crew.GetCrewTotalNumber() < 1 && complex > 0) {
//Disable the ship
SetADCtrlMode(0);
SetAttitudeMode(RCS_NONE);
SetThrusterResource(th_Input,NULL);
}
else {
//Enable the ship
SetADCtrlMode(7);
SetAttitudeMode(RCS_ROT );
SetThrusterResource(th_Input,fuel);
}
[COLOR="Red"] // "AddUMmuToVessel" function
AddUMmuToVessel();[/COLOR]
...
}//Prestep
except for the previously noted forward wheel spin issue.
By the time I had reached the VAB, the wheels were perpendicular to the rest of the vehicle. No issues at all maintaining a 8 km/h tow speed.
If you want, you could check out the SSU sources as I believe we're using parent/child animations for the payload bay doors/centerline latches and the Ku band antenna deployment.Yes, this is still the issue bugging me.
It has something to do with the steering and rotation of the drive wheels.
It is a parent child animation but a lack of examples like this are annoying.
BEGIN_DESC
Contains the latest simulation state.
END_DESC
BEGIN_ENVIRONMENT
System Sol
Date MJD 55987.5564377642
END_ENVIRONMENT
BEGIN_FOCUS
Ship B1200
END_FOCUS
BEGIN_CAMERA
TARGET B1200
MODE Extern
POS 6.75 131.02 -14.18
TRACKMODE TargetRelative
FOV 40.00
END_CAMERA
BEGIN_HUD
TYPE Surface
END_HUD
BEGIN_MFD Left
TYPE Map
REF Earth
BTARGET Cape Canaveral
POS 0.00 0.00
END_MFD
BEGIN_SHIPS
B1200:JBT_B1200
STATUS Landed Earth
POS -80.6543500 28.5868200
HEADING 79.28
AFCMODE 7
PRPLEVEL 0:1.000000
NAVFREQ 0 0
UMMUCREW Eng-Garu_Falcon-28-65-74
END
STS-101:Atlantis
STATUS Landed Earth
POS -80.6546100 28.5867770
HEADING 79.28
AFCMODE 7
NAVFREQ 0 0
CONFIGURATION 3
GEAR 1 1.0000
ARM_STATUS 0.5000 0.0000 0.0000 0.5000 0.5000 0.5000
SAT_OFS_X 0.00
SAT_OFS_Y 0.00
SAT_OFS_Z 0.00
CARGO_STATIC_MESH Carina_cradle
CARGO_STATIC_OFS 0.00 -1.65 0.05
END
END_SHIPS
Not sure what I'm doing wrong, but with this latest update, the tug won't release an attached vessel. Have you experienced this problem?
Could you lower speeds at which the different engine sounds kick in? Currently they're set a bit high as the general maximum tow speed is no more than 8 km/h(5 mph). So you're never going to be blazing around at 25 km/h(top speed shown on the HUD).