From 84578963d54157b248e5af060da155f657076671 Mon Sep 17 00:00:00 2001 From: y1lm0z Date: Tue, 11 Aug 2026 01:00:06 +0300 Subject: [PATCH] Fix camera --- Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset | 4 ++-- Source/NERGUS/NERGUSCharacter.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset b/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset index c9d2550..cb61f63 100644 --- a/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset +++ b/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8211f082a79d5979b3cb39ec41cc8daa8e8827ca05bdb8cd7e0ee75cc58c7226 -size 115000 +oid sha256:9fcced60ba994b8de6c0cab5ee8a915fabe2d68fc5f8f3da4dcc11eb89e7e9ef +size 114884 diff --git a/Source/NERGUS/NERGUSCharacter.cpp b/Source/NERGUS/NERGUSCharacter.cpp index eaa9af0..af61b4f 100644 --- a/Source/NERGUS/NERGUSCharacter.cpp +++ b/Source/NERGUS/NERGUSCharacter.cpp @@ -44,7 +44,7 @@ ANERGUSCharacter::ANERGUSCharacter() FirstPersonCameraComponent = CreateDefaultSubobject(TEXT("First Person Camera")); //FirstPersonCameraComponent->SetupAttachment(FirstPersonMesh, FName("head")); FirstPersonCameraComponent->SetupAttachment(FirstPersonArmMesh); - FirstPersonCameraComponent->SetRelativeLocationAndRotation(FVector(-2.8f, 5.89f, 0.0f), FRotator(0.0f, 90.0f, -90.0f)); + FirstPersonCameraComponent->SetRelativeLocationAndRotation(FVector(0.0f, 0.0f, 150.0f), FRotator(0.0f, 90.0f, 0.0f)); FirstPersonCameraComponent->bUsePawnControlRotation = true; FirstPersonCameraComponent->bEnableFirstPersonFieldOfView = true; FirstPersonCameraComponent->bEnableFirstPersonScale = true;