Advertisement
Guest User

Untitled

a guest
Nov 27th, 2016
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2.  
  3. #pragma once
  4.  
  5. #include "GameFramework/Actor.h"
  6. #include "HitActor.generated.h"
  7.  
  8. UCLASS()
  9. class YOURGAMENAME_API AHitActor : public AActor
  10. {
  11. GENERATED_BODY()
  12.  
  13.  
  14. public:
  15.  
  16. AHitActor();
  17.  
  18. protected:
  19.  
  20. UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Components", meta = (AllowPrivateAccess = "true"))
  21. UCapsuleComponent* CapsuleComponent;
  22.  
  23. virtual void NotifyHit(class UPrimitiveComponent* MyComp, AActor* Other, class UPrimitiveComponent* OtherComp, bool bSelfMoved, FVector HitLocation, FVector HitNormal, FVector NormalImpulse, const FHitResult& Hit) override;
  24.  
  25. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement