But the action value X is always 1.0 and character is moving only to the right side and not rotating even when I’m using W, A, or S. How can I fix this?
Tried it. Rigth-left direction is working now, but W is moving character to the right and S - to the left… Maybe, I do something wrong with forward vector?
Unfortunately it works strange - character is getting a “tank” movement like in resident evil, where you setting the direction with A, D and moving with W, S. I’ve disabled Use Controller Rotation Yaw and enabled Use Pawn Control Rotation.
You would just replace the “Get Right Vector” and “Get Forward Vector” that you’re getting from your actor with just “Vector Forward” and “Vector Right” (because you want world, not actor).
These should return 1,0,0 and 0,1,0. If W and S go left to right and A and D go forward and back, switch them (it depends on if X or Y is forward in your built level.)