Comment fix

This commit is contained in:
Steve Streeting 2023-11-13 11:10:40 +00:00
parent be89a2840e
commit 8c9a35073d

View File

@ -29,7 +29,7 @@ void AStevesReplicatedPhysicsActor::BeginPlay()
if (IsServer()) if (IsServer())
{ {
// Server collision. Block all but allow pawns through // Server collision. Block all but allow pawns through
// Subclasses can change this if they like you can change t // Subclasses can change this if they like
MeshComp->SetCollisionResponseToAllChannels(ECR_Block); MeshComp->SetCollisionResponseToAllChannels(ECR_Block);
MeshComp->SetCollisionResponseToChannel(ECC_Pawn, ECR_Overlap); MeshComp->SetCollisionResponseToChannel(ECC_Pawn, ECR_Overlap);
MeshComp->SetSimulatePhysics(true); MeshComp->SetSimulatePhysics(true);