void AUnrealRpgPlayerController::LookRightLeft(float value) { if (bInvertLookXAxis) { value *= -1.0f; } AddYawInput(value); }
/* * Method that moves the camera horizontally. */ void ABasePlayerController::RotateCameraHorizontally(float rate) { AddYawInput(rate * CameraHorizontalRotationRate * GetWorld()->GetDeltaSeconds()); }