Search code examples
controlsmouseunreal-engine4blueprint

Unreal mouseX and mouseY only up and down


I just start working in unreal engine and i have very strange problem.I working on unreal 4.20 and I try implement mouse sensitivity in blueprints. When I add MouseY to inputs then when I move mouse to left and right camera go up and down.

Project settings: https://i.sstatic.net/YIqZu.jpg

Blueprint https://i.sstatic.net/dijWB.jpg

When I remove "InputAxis Turn" mouse work ok. What is wrong?


Solution

  • For "InputAxis Turn" , it should be connected to "Add Controller yaw input" instead of pitch, that was the mistake.

    You connected Add pitch controller twice on both axis, that doesnt make sense . and it will treat the X-axis as Y-axis in term of input.