Bugfix Enemies Jumping Around

This commit is contained in:
Philip W 2024-05-22 15:28:18 +01:00
parent 923073d734
commit 0f41565f88

View File

@ -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<UCharacterMovementComponent>(GetMovementComponent()))
{