https://differentdirection.youtrack.cloud/issue/OC-3/Replication-Projectiles complete #3

Merged
Keeper317 merged 26 commits from projectilebase into main 2026-01-03 06:14:31 +00:00
4 changed files with 6 additions and 2 deletions
Showing only changes of commit 4b856b1d24 - Show all commits

Binary file not shown.

View File

@@ -12,6 +12,10 @@ ADDICharacter::ADDICharacter()
bReplicates = true;
// bReplicateMovement = true;
CameraComponent = CreateDefaultSubobject<UCameraComponent>(TEXT("CameraComponent"));
CameraComponent->SetupAttachment(GetMesh(), "headSocket");
CameraComponent->SetRelativeLocation(FVector(0.0f, 0.0f, 50.0f));
CameraComponent->bUsePawnControlRotation = true;
}

View File

@@ -26,6 +26,6 @@ public:
virtual void Tick(float DeltaTime) override;
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Camera")
UCameraComponent* CameraComponent
UCameraComponent* CameraComponent;
};