I am basically stuck with the same challenge right now. I want to have my in game UI (buttons where the user can select a building) also made with commonUI, but I am stuck that it swallows all input even for camera movement …
I tried giving the player controller game and ui input method on my root widget. Nothing works …
Shouldn’t the viewport client cascade inputs through?
I mean the second code @illYay shared should do exactly that right? But digging into ‘CanProcessNormalGameInput’ I have no idea to satisfy the bool expression which checks that the widget has captured the cursor.
Does anyone know how to achieve this?
Because looking at the first code you shared if it is unhandled by the CommonGameViewportClient it passes the input on to the parent method which should then just pass it on as normal right?