Problem Payload Manager SDK reverse jettison

Zatnikitelman

Addon Developer
Addon Developer
Joined
Jan 13, 2008
Messages
2,303
Reaction score
6
Points
38
Location
Atlanta, GA, USA, North America
I've come up on a problem with coding a Payload Manager vessel. I need to be able to jettison the payloads backwards because they're hung under a Launch Escape System rather than being in front of an upperstage. Using SetDetachSpeed() I input -5, but I still get +5 velocity and the manual indicates the minimum value is 0. Is there a way to trick PM, or just something I'm missing to change detach speed to negative, or jettison direction to negative without affecting the payload's orientation?
Thanks for any help.
Zatman
 
You'll need to invert the direction vector for the attachment since that is what controls the direction payload is jettisoned in (that also means the rotation vector will probably also need be inverted depending on the symmetry of your payload). Unfortunately that means that the attached vessel will also be rotated 180° meaning that you will need to redefine the principle axes in that vessel accordingly.
 
Unfortunately it's the same conclusion I've come to. Since this is for an extensible Launch Escape System, I'm not sure really if I can (or if I can, if I should) flip a vessel about its axes simply for external view. I guess I'll just have to live it with it unless Kulch updates Payload Manager. It is a shame though, because the way PM is currently configured, it's useful for inline launchers like I'm working on now, but not so useful for a sidemount payload such as a nanosat carrier or even a shuttle-style stack with the "Orbiter" as the payload rather than as part of the launch vehicle.
Thanks for the help tblaxland!
 
Back
Top