Character slows down/stop when I look down

Need to remove the pitch component from the forward/backwards movement.



        const FRotator YawOnlyRotation = FRotator(0.0f, GetControlRotation().Yaw, 0.0f)
        AddMovementInput(FRotationMatrix(YawOnlyRotation).GetUnitAxis(EAxis::X), Value);