File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Source/RWTHVRToolkit/Private/Pawn Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ ARWTHVRPawn::ARWTHVRPawn(const FObjectInitializer& ObjectInitializer) : Super(Ob
3636 LeftHand = CreateDefaultSubobject<UReplicatedMotionControllerComponent>(TEXT (" Left Hand MCC" ));
3737 LeftHand->SetupAttachment (RootComponent);
3838
39- // add a nDisplay
39+ // Add an nDisplay Parent Sync Component. It syncs the parent's transform from master to clients.
40+ // This is required because for collision based movement, it can happen that the physics engine
41+ // for some reason acts different on the nodes, therefore leading to a potential desync when
42+ // e.g. colliding with an object while moving.
4043 SyncComponent =
4144 CreateDefaultSubobject<UDisplayClusterSceneComponentSyncParent>(TEXT (" Parent Display Cluster Sync Component" ));
4245 SyncComponent->SetupAttachment (RootComponent);
You can’t perform that action at this time.
0 commit comments