Fix camera
This commit is contained in:
Binary file not shown.
@@ -44,7 +44,7 @@ ANERGUSCharacter::ANERGUSCharacter()
|
|||||||
FirstPersonCameraComponent = CreateDefaultSubobject<UCameraComponent>(TEXT("First Person Camera"));
|
FirstPersonCameraComponent = CreateDefaultSubobject<UCameraComponent>(TEXT("First Person Camera"));
|
||||||
//FirstPersonCameraComponent->SetupAttachment(FirstPersonMesh, FName("head"));
|
//FirstPersonCameraComponent->SetupAttachment(FirstPersonMesh, FName("head"));
|
||||||
FirstPersonCameraComponent->SetupAttachment(FirstPersonArmMesh);
|
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->bUsePawnControlRotation = true;
|
||||||
FirstPersonCameraComponent->bEnableFirstPersonFieldOfView = true;
|
FirstPersonCameraComponent->bEnableFirstPersonFieldOfView = true;
|
||||||
FirstPersonCameraComponent->bEnableFirstPersonScale = true;
|
FirstPersonCameraComponent->bEnableFirstPersonScale = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user