Like, pressing C when facing a planet segment would align you to it? +1
not when facing a segment.
when you are affected by it's
gravity.
You should align vertically to exactly between +gravity axis and -gravity axis.
I think it should not align you horizontally just once you press it, but you can toggle between 0 and a setting-value of
- 0 = ignore it.
- 1 = use full rotation ability to stay horizontal.
- 0.5 = you can rotate up and down, but rotate back equally fast when not forcing the rotate.
maybe per ship, inherited from game settings for new ships.
For a 1-time alignment, just press it and a short time after deactivate it again - that is a lot more flexible and not much more difficult to implement