Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fill out your copyright notice in the Description page of Project Settings.
- #pragma once
- #include "GameFramework/Actor.h"
- #include "HitActor.generated.h"
- UCLASS()
- class YOURGAMENAME_API AHitActor : public AActor
- {
- GENERATED_BODY()
- public:
- AHitActor();
- protected:
- UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Components", meta = (AllowPrivateAccess = "true"))
- UCapsuleComponent* CapsuleComponent;
- virtual void NotifyHit(class UPrimitiveComponent* MyComp, AActor* Other, class UPrimitiveComponent* OtherComp, bool bSelfMoved, FVector HitLocation, FVector HitNormal, FVector NormalImpulse, const FHitResult& Hit) override;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement