Hey Guys,
I would really appreciate it if you could help me out.
So I’m having this weird issue with my ATriggerVolume:

This is my code:
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "Engine/TriggerVolume.h"
#include "OpenDoor.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class ESCAPEROOM_API UOpenDoor : public UActorComponent
{
GENERATED_BODY()
public:
// Sets default values for this component's properties
UOpenDoor();
protected:
// Called when the game starts
virtual void BeginPlay() override;
public:
// Called every frame
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
void OpenDoor(float DeltaTime);
void CloseDoor(float DeltaTime);
private:
float InitialYaw;
float CurrentYaw;
UPROPERTY(EditAnywhere)
float TargetYaw = 90.f;
float DoorLastOpened = 0.f;
UPROPERTY(EditAnywhere)
float DoorCloseDelay = 2.f;
UPROPERTY(EditAnywhere)
float DoorOpenSpeed = 1.f;
UPROPERTY(EditAnywhere)
float DoorCloseSpeed = 1.f;
UPROPERTY(EditAnywhere)
ATriggerVolume* PressurePlate;
UPROPERTY(EditAnywhere)
AActor* ActorThatOpens;
};
I tried changing the order of the includes, any other ideas for this error?
Thanks!