Can anyone help me with this issue. I migrated to 5.1 and I have the enhanced input plugins setup in my c++ project. Everything is working for the basic movement with enhanced inputs but the IA_Look input is broken for me. When I move left with my mouse, my character turns to look right (inverted behavior). Looking in the debugging, I see that it gives positives values when looking/turning left. It should give negative values.
My project is a copy of the standard third person ue 5.1 project. My settings are exactly the same, anyone that also has experienced this?
This is de code I am using:
void AGDHeroCharacter::Look(const FInputActionValue& Value)
{
// input is a Vector2D
FVector2D LookAxisVector = Value.Get<FVector2D>();
if (Controller != nullptr)
{
// add yaw and pitch input to controller
AddControllerYawInput(LookAxisVector.X);
AddControllerPitchInput(LookAxisVector.Y);
}
}