Hi all,
I've recently learned that you can apply float curves to the engines within KSP in order to allow the thrust of the engine to vary as the propellant mass in connected fuel tanks varies. The example I've been given is something like this:
key = 1 0.46
key = 0.754 0.46
key = 0 0.1
And what I've been told is:
However, when I go to replicate this curve in MATLAB (as a new part of the KSP Trajectory Optimization Tool I develop), I can't get the results to line up. See this post:
Can someone provide some insight into what is going on internally with those engine floatcurves? What's the underlying math (if anyone knows it)? Are tangents at the data points being restricted to something somehow?
Thanks for the help!
EDIT: Turns out that after doing some research, the better question would be to ask what KSP does when those float curves are not defined with incoming and outgoing tangents, but instead are left blank/not included, as they are in my example above. Anyone know?