Problem with mouse input
What can cause mouse-axis input to be captured(?) only while a mouse button is being pressed?
I've ignored this problem for some time, but it needs fixing now. I am controlling a character in 3rd person and it only rotates or looks up/down with mouse movement, while I'm pressing any of the mouse buttons, which is rather absurd...
I noticed there is a setting for this kind of thing under project->input, but it's set to capture permanently. Maybe my GUI-wigets are absorbing input until the focus is forced to the game-view by clicking (holding) on it, but I really don't know.
asked Feb 28 '17 at 02:00 PM in Using UE4
Thanks for replies, but I think I figured it out.
Looks like this behavior is normal when setting an input mode for a player controller of type FInputModeGameAndUI. I thought I could use that mode throughout and switch between direct controls and GUI by toggling cursor-visibility. But I guess I have to toggle the input mode instead from FInputModeGameOnly, where mouse capture is permanent, to one of the two others.
answered Mar 01 '17 at 08:38 AM
I used "set input mode Game only",and sloved the same problem. Have you try this?
answered Dec 16 '17 at 09:57 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here