Mouse yaw and pitch not working?

Jack_W_Lewis
Sat, 18 May 2019 11:29:32 +0000
Cinematics & Media

Hi,
I’m making a simple character and have the lines of code:

PlayerInputComponent->BindAxis(“Turn”, this, &APawn::AddControllerYawInput);

PlayerInputComponent->BindAxis(“LookUp”, this, &APawn::AddControllerPitchInput);

My input names are correct and I have the camera set to use control rotation. But my camera is frozen.

In game I used the command DisplayAll PlayerController Rotation and it’s showing Y=0.0 P=0.0 R=0.0 all the time.

Also my WASD inputs work fine.

2 posts - 1 participant