Lee Elliott wrote > > On Saturday 14 February 2004 18:35, Vivian Meazza wrote: > > > Andy Ross > > > > > > Lee Elliott wrote: > > > > I think drop tanks would be feasible but it would need some > > > > thinking > > > > about:) > > > > > > > > The fun bit will be counteracting the a/c manuevours after the > > > > tank has dropped so it falls straight even though the a/c may be > > > > > > climbing > > > > > > > and banking. > > > > > > This is more of a code architecture issue. Once > something has left > > > the aircraft, it ought be be handed to a simple > "ballistics FDM" or > > > somesuch. Making it "disappear" from the aircraft model is as > > > simple as adding a select animation and can be done right > now. And > > > you can set the weight tag to zero to get the FDM > behavior correct. > > > > > > Running it under a separate "FDM" handler is something > that the C++ > > > code just doesn't support yet, though. It's probably not hugely > > > difficult to make work, though. > > > > > > Andy > > > > I was thinking in the short term to move the tank away from the > > aircraft in an arc, then select it, and set the fuel to > zero, and the > > empty weight to zero. Be nice to hand off to a separate FDM though. > > > > Vivian > > While I think it might be feasible to drop a tank and have it > appear to drop > down from the a/c, and out of sight (and then quickly > de-selected), I think > trying to achieve any sort of realistic trajectory would be > pushing it a bit. > > You've got to remember that the animation origins are > relative to the a/c so > after dropping something, you'd have to bare in mind that the > a/c, and > therefore the anim orign, are moving. If the a/c turns after > dropping the > tank it would be very difficult to keep the tank moving in a > straight line > with the available anim controls. The same thing applies to > climbs or > descents, but this would be less apparent from the a/c views. > Would look a > bit odd from the tower though:) > > LeeE Of course we would like a parent/child FDM system, and from all these postings is seems as if we nearly have. In the order of things, I don't think it is very high on the todo list.
Vivian _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel