diff --git a/Source/SenseGlove/Private/SenseGlove/GameFramework/SGPawn.cpp b/Source/SenseGlove/Private/SenseGlove/GameFramework/SGPawn.cpp index b7bf9766..ccdf8155 100644 --- a/Source/SenseGlove/Private/SenseGlove/GameFramework/SGPawn.cpp +++ b/Source/SenseGlove/Private/SenseGlove/GameFramework/SGPawn.cpp @@ -1411,7 +1411,6 @@ void ASGPawn::FImpl::DisableActorPhysics(const AActor* Actor) const { PrimitiveComponent->SetEnableGravity(false); PrimitiveComponent->SetSimulatePhysics(false); - PrimitiveComponent->SetCollisionEnabled(ECollisionEnabled::NoCollision); } } } @@ -1427,7 +1426,6 @@ void ASGPawn::FImpl::EnableActorPhysics(const AActor* Actor) const { PrimitiveComponent->SetEnableGravity(true); PrimitiveComponent->SetSimulatePhysics(true); - PrimitiveComponent->SetCollisionEnabled(ECollisionEnabled::QueryAndPhysics); } } }