blaster/Source/Blaster/Weapon/ProjectileRocket.h

28 lines
562 B
C
Raw Normal View History

2022-05-18 12:44:39 +00:00
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Projectile.h"
#include "ProjectileRocket.generated.h"
/**
*
*/
UCLASS()
class BLASTER_API AProjectileRocket : public AProjectile
{
GENERATED_BODY()
public:
AProjectileRocket();
protected:
virtual void OnHit(UPrimitiveComponent* HitComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit) override;
private:
UPROPERTY(VisibleAnywhere)
UStaticMeshComponent* RocketMesh;
};