By default the function keys(F1-F5) changes view modes when playing in viewport, I searched everywhere but didn’t not find any options to rebind the keys or simply disable it. I’d like to use those keys for some player inputs but simultaneously changing the view modes is really annoying, anyone know a solution to this?
Those keys cannot be overridden in the keyboard shortcuts in the same way Escape can. I would guess theres a workaround using the ini’s. What I do though is set the keys as usual in the input section, and also add another, debug version on some other key, that works enough for my testing. Then when you need a proper test, run your game as standalone and the F keys will work as expected, the view mode toggles, and the escape key etc are purely PIE keys and don’t affect proper standalone builds. While it might sound like a pain to run standalone to do proper tests, you should do anyway as theres a number of things such as begin play orders that are not quite the same in standalone, and in the end standalone is the one you need to work.
Thank you!
May I know how to add another, debug version on some other key? I do not understand what it means.
While I playing in standalone the F keys still changes the view modes.
Also, when showing the cursor, do you happen to know how to disable mouse click drag rotating the camera?