diff --git a/RoomEscape/Content/NewMap.umap b/RoomEscape/Content/NewMap.umap index 1681b38..d822084 100644 Binary files a/RoomEscape/Content/NewMap.umap and b/RoomEscape/Content/NewMap.umap differ diff --git a/RoomEscape/Content/NewMap_BuiltData.uasset b/RoomEscape/Content/NewMap_BuiltData.uasset index f160066..241eb99 100644 Binary files a/RoomEscape/Content/NewMap_BuiltData.uasset and b/RoomEscape/Content/NewMap_BuiltData.uasset differ diff --git a/RoomEscape/Source/RoomEscape/OpenDoor.h b/RoomEscape/Source/RoomEscape/OpenDoor.h index 13f6dee..149c4f8 100644 --- a/RoomEscape/Source/RoomEscape/OpenDoor.h +++ b/RoomEscape/Source/RoomEscape/OpenDoor.h @@ -4,6 +4,8 @@ #include "CoreMinimal.h" #include "Components/ActorComponent.h" +#include "Engine/TriggerVolume.h" + #include "OpenDoor.generated.h" @@ -24,6 +26,11 @@ public: // Called every frame virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override; +private: + UPROPERTY(VisibleAnywhere) + float OpenAngle = 90.f; + + UPROPERTY(EditAnywhere) + ATriggerVolume* PressurePlate; - };