-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPointCollision.cpp
More file actions
35 lines (23 loc) · 869 Bytes
/
Copy pathPointCollision.cpp
File metadata and controls
35 lines (23 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Fill out your copyright notice in the Description page of Project Settings.
#include "HideAndSeekCharacter.h"
#include "PointCollision.h"
//#include "Components/BoxComponent.h"
// Sets default values
APointCollision::APointCollision()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
Deneme = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("StaticMeshComponent"));
Deneme->SetupAttachment(GetRootComponent());
}
// Called when the game starts or when spawned
void APointCollision::BeginPlay()
{
Super::BeginPlay();
// BoxCollision->OnComponentBeginOverlap.AddDynamic(this, &APointCollision::BeginOverlap);
}
// Called every frame
void APointCollision::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}