Implemented decals

This commit is contained in:
TjgL 2025-04-08 22:57:52 +02:00
parent 35a1cd757b
commit 29f324c96a
3 changed files with 9 additions and 2 deletions

BIN
Content/Legumix/Player/BP_Play.uasset (Stored with Git LFS)

Binary file not shown.

View File

@ -191,6 +191,10 @@ void ALMPlayer::FireBullets(const FLMBulletInfo Settings)
HitSomething = true; HitSomething = true;
HitBox->OnHit(Settings, OutHit); HitBox->OnHit(Settings, OutHit);
} }
else
{
OnSurfaceHit(OutHit);
}
} }
if (HitSomething) if (HitSomething)

View File

@ -113,6 +113,9 @@ public:
UFUNCTION(BlueprintCallable) UFUNCTION(BlueprintCallable)
void DoLedgeGrabCheck(); void DoLedgeGrabCheck();
UFUNCTION(BlueprintImplementableEvent)
void OnSurfaceHit(FHitResult Hit);
FCollisionQueryParams GetIgnoreCharacterParams(); FCollisionQueryParams GetIgnoreCharacterParams();