blaster/Source/Blaster/Weapon/RocketMovementComponent.h

22 lines
619 B
C
Raw Normal View History

2022-05-19 09:10:41 +00:00
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/ProjectileMovementComponent.h"
#include "RocketMovementComponent.generated.h"
/**
*
*/
UCLASS()
class BLASTER_API URocketMovementComponent : public UProjectileMovementComponent
{
GENERATED_BODY()
protected:
virtual EHandleBlockingHitResult HandleBlockingHit(const FHitResult& Hit, float TimeTick, const FVector& MoveDelta, float& SubTickTimeRemaining) override;
virtual void HandleImpact(const FHitResult& Hit, float TimeSlice, const FVector& MoveDelta) override;
};