diff --git a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0002.exp b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0002.exp index 96f2003..c88d86b 100644 Binary files a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0002.exp and b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0002.exp differ diff --git a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0003.exp b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0003.exp index 09b199a..456f152 100644 Binary files a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0003.exp and b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0003.exp differ diff --git a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0005.exp b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0005.exp index 69c1485..b69f39b 100644 Binary files a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0005.exp and b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0005.exp differ diff --git a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.patch_0.exp b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.patch_0.exp new file mode 100644 index 0000000..70fbe61 Binary files /dev/null and b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.patch_0.exp differ diff --git a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0001.pdb b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.patch_0.pdb similarity index 83% rename from ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0001.pdb rename to ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.patch_0.pdb index e60762d..8d5b3c1 100644 Binary files a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish-0001.pdb and b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.patch_0.pdb differ diff --git a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.pdb b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.pdb index f387222..adc61cd 100644 Binary files a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.pdb and b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFish.pdb differ diff --git a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFishEditor-0001.pdb b/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFishEditor-0001.pdb deleted file mode 100644 index 37339f0..0000000 Binary files a/ProjectFish/Binaries/Win64/UnrealEditor-ProjectFishEditor-0001.pdb and /dev/null differ diff --git a/ProjectFish/Source/ProjectFish/Gameplay/Ship/Shipbase.cpp b/ProjectFish/Source/ProjectFish/Gameplay/Ship/Shipbase.cpp index 764df67..4bd55d2 100644 --- a/ProjectFish/Source/ProjectFish/Gameplay/Ship/Shipbase.cpp +++ b/ProjectFish/Source/ProjectFish/Gameplay/Ship/Shipbase.cpp @@ -30,7 +30,7 @@ AShipbase::AShipbase() //GetCharacterMovement()->bOrientRotationToMovement = true; // Character moves in the direction of input... //修改移动模式 GetCharacterMovement()->bOrientRotationToMovement = false; // Don't auto-orient to movement direction - GetCharacterMovement()->bUseControllerDesiredRotation = true; // Use controller rotation for turning + GetCharacterMovement()->bUseControllerDesiredRotation = false; // Use controller rotation for turning GetCharacterMovement()->bUseSeparateBrakingFriction = true; GetCharacterMovement()->RotationRate = FRotator(0.0f, 500.0f, 0.0f); // ...at this rotation rate @@ -182,18 +182,17 @@ void AShipbase::Move(const FInputActionValue& Value) TurnRate *= -1.0f; } - // Apply rotation to the character + // Apply rotation to the character only, not the controller FRotator NewRotation = GetActorRotation(); NewRotation.Yaw += TurnRate; SetActorRotation(NewRotation); - - // Also update controller rotation for camera - if (APlayerController* PC = Cast(Controller)) - { - FRotator ControllerRotation = PC->GetControlRotation(); - ControllerRotation.Yaw += TurnRate; - PC->SetControlRotation(ControllerRotation); - } + // // Also update controller rotation for camera + // if (APlayerController* PC = Cast(Controller)) + // { + // FRotator ControllerRotation = PC->GetControlRotation(); + // ControllerRotation.Yaw += TurnRate; + // PC->SetControlRotation(ControllerRotation); + // } } } }