Create a folder called Input
R click and create Input Mapping context and Player mappable input config (only need this config if it’s VR. For game, just use Mapping Context is enough)
In input config,
Rename config name as Player, add Context Map element (If in VR that input config is needed, this step is needed too)
Select the newly created config in OpenXR input, in project settting:
Add an input action, name as Movement
Change Value type to Axis 2D (i.e X and Y)
In mapping context:
Add a mapping, select the Movment Input action created
Add 4 more for WSAD directions
Unfold all 4 commands and set as follow
(Negat means negative values)
Go to Character Player BP, Event graph
Movement input command, delete all nodes except 1 Add movement input left and:
Set the controller to listen for enchanced input
(Either mapping context or mappable config nodes can work)
For Look, create another input action
add in mapping context:
Set Y as Negate because UE default Y axis is inverted
In 3rd person BP, Mouse input/Camera input
Replace with: