Implemented decals
This commit is contained in:
parent
35a1cd757b
commit
29f324c96a
BIN
Content/Legumix/Player/BP_Play.uasset
(Stored with Git LFS)
BIN
Content/Legumix/Player/BP_Play.uasset
(Stored with Git LFS)
Binary file not shown.
@ -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)
|
||||||
|
@ -113,6 +113,9 @@ public:
|
|||||||
|
|
||||||
UFUNCTION(BlueprintCallable)
|
UFUNCTION(BlueprintCallable)
|
||||||
void DoLedgeGrabCheck();
|
void DoLedgeGrabCheck();
|
||||||
|
|
||||||
|
UFUNCTION(BlueprintImplementableEvent)
|
||||||
|
void OnSurfaceHit(FHitResult Hit);
|
||||||
|
|
||||||
FCollisionQueryParams GetIgnoreCharacterParams();
|
FCollisionQueryParams GetIgnoreCharacterParams();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user