JMW
Aspiring Addon Developer
Can anyone tell me why (since somewhere in Orbiter Beta) my wheel rotation animations only work if heading in a northerly direction? (heading 330 deg on cape runway 15/33)
It stops from 90 deg either way.........
Is there a fix ?
and
if I change to (GetAirspeedVector (FRAME_GLOBAL,v)) working direction is reversed.........?
It stops from 90 deg either way.........
Is there a fix ?
Code:
if (iop > 1)iop=0;
if (hspd > 0.4)
{
double aspeed = hspd*1.5;
if (iop > 1)iop=0;
if (hspd > 30) aspeed = 30;
iop = iop + (aspeed /200);//300
if (hspd <= 0.4) iop=0;
if ( GroundContact() && gear_proc < 0.05) {vspdwn = 0;
SetAnimation (anim_wheel, iop);}
}
and
Code:
if (GetAirspeedVector (FRAME_HORIZON,v))
hspd = (v.z );
if I change to (GetAirspeedVector (FRAME_GLOBAL,v)) working direction is reversed.........?
Last edited: