Re: Ground limit and 3D model

Frederic Bouvier <[email protected]> Sat, 21 May 2005 13:07:07 +0200
Newsgroups gmane.games.flightgear.flightmodel
Message-ID <[email protected]>
Sam Heyman wrote :

>>>Is there any way of telling whether the aircraft is correctly
>>>positioned? My 3D model is centred in the middle of the screen and
>>>when I zoom it remains in the centre.
>>>However, it sometimes flips-over and lies on its back, underground...
>>>which seems to hint something isn't quite right.
>>>      
>>>
>>That sounds like the only contact points you've defined are the gear -
>>so it's doing exactly what you told it - the gear remains at ground
>>level :-)
>>
>>Try adding extra contact points for things like wing tips, the top of
>>tha tail, the nose, canopy, etc - this will ensure that if it does hit
>>the ground you won't be able to drive parts of the aircraft *through* it.
>>
>>    
>>
>
>Aha! I didn't know you could define more contact points... do you just
>add them in the under-carrriage section?
>  
>

Yes. The A320 features these :

  <UNDERCARRIAGE>
    AC_GEAR NOSE_LG    196.1    0.0 -138.2  100000  5000 0.8 0.50 0.02 
STEERABLE NONE   5  RETRACT
    AC_GEAR LEFT_MLG   688.7 -144.4 -142.0  150000 12000 0.8 0.50 0.02 
FIXED     LEFT   0   RETRACT
    AC_GEAR RIGHT_MLG  688.7  144.4 -142.0  150000 12000 0.8 0.50 0.02 
FIXED     RIGHT  0   RETRACT
    AC_GEAR TAIL_1     987.0    0.0   -55.7 1500000 60000 0.2 0.2  0.02 
FIXED     NONE   0   FIXED
    AC_GEAR ENG_1      515.4  226.2  -104.3 1500000 60000 0.2 0.2  0.02 
FIXED     NONE   0   FIXED
    AC_GEAR ENG_2      515.4 -226.2  -104.3 1500000 60000 0.2 0.2  0.02 
FIXED     NONE   0   FIXED
    AC_GEAR WING_TIP_1 846.1 -667.6   -37.4 1500000 60000 0.2 0.2  0.02 
FIXED     NONE   0   FIXED
    AC_GEAR WING_TIP_2 846.1  667.6   -37.4 1500000 60000 0.2 0.2  0.02 
FIXED     NONE   0   FIXED
    AC_GEAR NOSE_TIP     0.0    0.0     0.0 1500000 60000 0.2 0.2  0.02 
FIXED     NONE   0   FIXED
    AC_GEAR NOSE_TOP   131.6    0.0    92.6 1500000 60000 0.2 0.2  0.02 
FIXED     NONE   0   FIXED
    AC_GEAR TAIL_TOP  1382.6    0.0   340.0 1500000 60000 0.2 0.2  0.02 
FIXED     NONE   0   FIXED
    AC_GEAR TAIL_TIP  1476.7    0.0    58.9 1500000 60000 0.2 0.2  0.02 
FIXED     NONE   0   FIXED
  </UNDERCARRIAGE>


-Fred



_______________________________________________
Flightgear-flightmodel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-flightmodel
2f585eeea02e2c79d7b1d8c4963bae2d