Skip to content
Snippets Groups Projects
Commit 18dcb53b authored by David Gilbert's avatar David Gilbert :bug:
Browse files

refactor(Pawn): Removes leftover input from Cluster module and removes...

refactor(Pawn): Removes leftover input from Cluster module and removes SyncComponent for now until a better solution is found.
parent 6a9b3fda
No related branches found
No related tags found
2 merge requests!85UE5.3-2023.1-rc3,!79Plugin Separation: Move the RWTHVRCluster Module into its own Plugin with respective content. Removes Toolkit dependency to nDisplay
...@@ -37,6 +37,7 @@ ARWTHVRPawn::ARWTHVRPawn(const FObjectInitializer& ObjectInitializer) : Super(Ob ...@@ -37,6 +37,7 @@ ARWTHVRPawn::ARWTHVRPawn(const FObjectInitializer& ObjectInitializer) : Super(Ob
LeftHand = CreateDefaultSubobject<UReplicatedMotionControllerComponent>(TEXT("Left Hand MCC")); LeftHand = CreateDefaultSubobject<UReplicatedMotionControllerComponent>(TEXT("Left Hand MCC"));
LeftHand->SetupAttachment(RootComponent); LeftHand->SetupAttachment(RootComponent);
#if 0
// Add an nDisplay Parent Sync Component. It syncs the parent's transform from master to clients. // Add an nDisplay Parent Sync Component. It syncs the parent's transform from master to clients.
// This is required because for collision based movement, it can happen that the physics engine // This is required because for collision based movement, it can happen that the physics engine
// for some reason acts different on the nodes, therefore leading to a potential desync when // for some reason acts different on the nodes, therefore leading to a potential desync when
...@@ -44,6 +45,7 @@ ARWTHVRPawn::ARWTHVRPawn(const FObjectInitializer& ObjectInitializer) : Super(Ob ...@@ -44,6 +45,7 @@ ARWTHVRPawn::ARWTHVRPawn(const FObjectInitializer& ObjectInitializer) : Super(Ob
SyncComponent = SyncComponent =
CreateDefaultSubobject<UDisplayClusterSceneComponentSyncParent>(TEXT("Parent Display Cluster Sync Component")); CreateDefaultSubobject<UDisplayClusterSceneComponentSyncParent>(TEXT("Parent Display Cluster Sync Component"));
SyncComponent->SetupAttachment(RootComponent); SyncComponent->SetupAttachment(RootComponent);
#endif
} }
void ARWTHVRPawn::Tick(float DeltaSeconds) void ARWTHVRPawn::Tick(float DeltaSeconds)
......
...@@ -6,7 +6,9 @@ ...@@ -6,7 +6,9 @@
#include "LiveLinkRole.h" #include "LiveLinkRole.h"
#include "Pawn/Navigation/CollisionHandlingMovement.h" #include "Pawn/Navigation/CollisionHandlingMovement.h"
#if 0
#include "Components/DisplayClusterSceneComponentSyncParent.h" #include "Components/DisplayClusterSceneComponentSyncParent.h"
#endif
#include "RWTHVRPawn.generated.h" #include "RWTHVRPawn.generated.h"
...@@ -55,7 +57,7 @@ public: ...@@ -55,7 +57,7 @@ public:
UCameraComponent* HeadCameraComponent; UCameraComponent* HeadCameraComponent;
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Pawn|Camera") UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Pawn|Camera")
UDisplayClusterSceneComponentSyncParent* SyncComponent; USceneComponent* SyncComponent;
// LiveLink functionality // LiveLink functionality
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment