UCameraShakeBase and UMatineeCameraShake

I am confused. After I converted Toon Tanks to UE5 aand then I implement successfully the hit camera shake using UMatineeCameraShake this code

UPROPERTY(EditAnywhere, Category = "combat")
TSubclassOf<class UMatineeCameraShake> HitCameraShakeClass;

but when I tried to do the same for pawns death camera shake I get error that I must use UCameraShakeBase like in this solution here

It is very strange why I can use UMatineeCameraShake in particle onhit and not in pawn destruction ?

Privacy & Terms