I have a very basic vehicle module compiled and executing. Can anybody recommend a tutorial that covers writing code for a multistage vehicle? I'm pretty good writing C++, but am still having a hard time learning the Orbiter API and object model. Either I'm not understanding all of the API, or there are multiple ways to accomplish the same task. For example, is it better to build each stage as a separate module and class, that somehow attaches to the next upper stage? Or, is it better to model the entire vehicle with each stage a separate group of meshes placed next to each other, switch primary propellant to the next stage, animate the mesh drifting away, then delete the mesh?
Even better, does anybody have well documented sample code of a simple multistaged vehicle?
Even better, does anybody have well documented sample code of a simple multistaged vehicle?