I am coding a dll for the Shenzhou spacecraft. I am separating the spacecraft modules using the same method shown in the stock Atlantis dll source i.e. calling oapiCreateVesselEx() to spawn the detached module as a new vessel. This works well, except that the new vessel has its animations reset. I could of course set the anim state in the new vessel dll on creation but that assumes the anims were in this state before. The anims could be in any position.
My question is: is there a way of communicating this information between running vessel instances? I imagined creating a data structure in reserved memory and sharing it, or maybe defining a "friend" method in the parent vessel and have the child vessel call it to get the anim states.
This must be possible. Anyone any suggestions?
s2k1
My question is: is there a way of communicating this information between running vessel instances? I imagined creating a data structure in reserved memory and sharing it, or maybe defining a "friend" method in the parent vessel and have the child vessel call it to get the anim states.
This must be possible. Anyone any suggestions?
s2k1