Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stock burn termination and bring back MANEUVER_COT
Still don't know if MANEUVER_COT works, but it is back. The expression: Quaternion.FromToRotation(VesselState.forward, VesselState.thrustForward) * VesselState.forward Looks a little useless but FromToRotation returns identity when thrustForward is [0,0,0] which fixes things for the non-thrust case. More importantly this fixes stock-style burn termination to work correctly again and it measure the angle to the actual maneuver node rather than the angle to the frozen inertial direction (which really shouldn't have worked at all, dunno why it eventually did stop). Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
- Loading branch information
1 parent
d7a69e0
commit 64da2d1
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters