-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add attitude autopilot v2 #3014
add attitude autopilot v2 #3014
Conversation
Numpad 5 is a strange choice, being right among the view controls. |
You're right. I was thinking that now that the view can be controlled with the mouse, the numpad could be used for rotation/translation (like in Orbiter, heh). Meanwhile it should perhaps have a better keybind (I'm open for suggestions). |
I think view controls with numpad are fine as they are now. They are controlling the internal views in a nice, spatially coherent way in my opinion, and I think we should keep that. WASD and IJKLUO is a good layout in my opinion, since there are a bunch of other keys around them, so you don't have to lift your hands for a lot of things. (I swapped rotation and translation controls on my setup though, rotation with my left felt strange) I think kill rot would fit better somewhere around the translation controls. P for example. This way you can play with the rot controls with one hand, and kill rot with the other, if needed. And one last thing: we already have a kill rot function practically. It's a toggle though. It's "R" I believe, and called Rotation Damping. Is a second different way to do it needed? |
"WASD and IJKLUO is a good layout in my opinion" And we already have two killrots - rotation damping toggle and "grabbing" the rotation controls for a moment with mouse. |
I'm also left-handed (altough I use the mouse with my right, so I consider myself right-handed in this question, even if I use my left hand for almost every other thing). And I think that that layout is better for both lefties and righties, then moving things to the numpad. I swapped translation controls to WASD mostly because I just got used to it as strafing in FPS games, and I rotate already with my other hand on the mouse. Does the mouse rotation kill rot even if the rot damping is off? Can't check it right now, so not sure. |
I didn't mean that the current layout should be replaced, just that some controls could be cloned on the numpad. I'll look into adding roll to the mouselook I think kill-rot is essential if flying with rotation damping off is to be viable. Turning on and off rotation damping for this function requires one more button press and you also need to visually check if the ship has stopped rotating . A lot of the time you want to align all three axis, making this six presses and three checks vs. three presses. |
@nozmajner My current control scheme is: And yes, switching the mouse rotation on kills rotation as fast as it physically can (as it tries to slave ship's rotation to the mouse), overall I find Pioneer's mouse flight control scheme to be one of the best I have ever seen - very intuitive and controllable, you can even "throw" ship's nose in the desired direction and catch it to counter the spin with your RCS when you're done. The only thing it could get is a bit smarter thruster use when rotating (allowing ship to rotate inertly as long as it's doing what player has ordered it to) and of course no clicking on GUI buttons when rotating the ship (is it fixed already? It really screws up combat when you start clicking random buttons when trying to turn and shoot rapidly). |
@Brianetta any thoughts on the whole PR ? |
Just to chip in: I like using WASD and numpad, but I have also liked WASD and IJKL. It's fairly easy to adopt. When I reassign keys, I use my right hand to fly (including throttle and roll and elevation) using numpad, and I use my left-hand for other controls. |
I changed the keybinding to 'p' like suggested? Anything else? |
Seems pretty good to me. Why are the hold-radial controls commented out? |
I commented it out because I didn't want to clutter the comms UI and those are least useful (I think?) Ultimately I'd like a more modular UI for world view. |
Maybe the list of attitude control modes could be split into two columns? That might give space to include the radial hold modes. It seems a little silly including code for those control modes with no way of activating it. |
Uses the more appropriate CONTROL_FIXHEADING_*
I also added a kill rotation mode, which stops the ship from rotating and then sets control to manual again. It's bound to numpad 5.