Question A qusetion about meshes

MJR

C++ developer in the mix
Addon Developer
Tutorial Publisher
Donator
Joined
Mar 19, 2008
Messages
2,447
Reaction score
5
Points
0
Location
United States
Lets say that I made a mesh. I wanted for that mesh to pop up at a certain time in the Orbiter session. What would I do? An example would be the minutemen addon where the mushroom cloud pops up after detonation. Also, how would I have the original mesh disappear so that the other mesh pops up?
 
There is probably a much more professional way to do it, but I think the easiest way, for starters, would be to have all your meshes loaded by your dll and show them at the appropriate times by by changing the mesh visibility modes of each, depending on the conditions. You could even disable or enable things like engines or propellant resources via the API commands, also depending on the conditions. Look at the Orbiter API Reference Manual for usage of the functions, and be imaginative!

Someone else probably has the perfect answer, however, so afore me they go if they do offer you a better solution!

Good luck!
 
Back
Top