From 0f41565f88cb9d5b1b959790efffa21240aaa4e2 Mon Sep 17 00:00:00 2001 From: PHILIP WHITE Date: Wed, 22 May 2024 15:28:18 +0100 Subject: [PATCH] Bugfix Enemies Jumping Around --- EndlessVendetta/Source/EndlessVendetta/AI/AICharacter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/EndlessVendetta/Source/EndlessVendetta/AI/AICharacter.cpp b/EndlessVendetta/Source/EndlessVendetta/AI/AICharacter.cpp index 1a1e2b02..05d21a80 100644 --- a/EndlessVendetta/Source/EndlessVendetta/AI/AICharacter.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/AI/AICharacter.cpp @@ -105,6 +105,7 @@ void AAICharacter::OnDeath() GetMesh()->SetSimulatePhysics(true); GetMesh()->WakeAllRigidBodies(); GetMesh()->bBlendPhysics = true; + GetMesh()->SetCollisionResponseToChannel(ECC_GameTraceChannel4, ECR_Ignore); if (UCharacterMovementComponent* CharacterComp = Cast(GetMovementComponent())) {