From 1e0dc49e5a980a8f35bd76ba2d8b6cfe98d3907e Mon Sep 17 00:00:00 2001 From: Rafal Swierczek Date: Sun, 21 Jan 2024 17:56:01 +0000 Subject: [PATCH] Bugfix Landing Zone Interaction Range --- .../.idea/.idea.EndlessVendetta/.idea/workspace.xml | 11 +++-------- .../Content/Levels/ControlTutorialLevel.umap | 4 ++-- EndlessVendetta/Content/Ships/LandingZone.uasset | 4 ++-- .../HDRI/HDRI_Epic_Courtyard_Daylight.uasset | 2 +- .../Source/EndlessVendetta/SpaceShip/SpaceShip.cpp | 2 +- 5 files changed, 9 insertions(+), 14 deletions(-) diff --git a/EndlessVendetta/.idea/.idea.EndlessVendetta/.idea/workspace.xml b/EndlessVendetta/.idea/.idea.EndlessVendetta/.idea/workspace.xml index 637c88c3..e7b25df7 100644 --- a/EndlessVendetta/.idea/.idea.EndlessVendetta/.idea/workspace.xml +++ b/EndlessVendetta/.idea/.idea.EndlessVendetta/.idea/workspace.xml @@ -9,14 +9,8 @@ - - - - - - - + diff --git a/EndlessVendetta/Content/Levels/ControlTutorialLevel.umap b/EndlessVendetta/Content/Levels/ControlTutorialLevel.umap index 3d831401..dbb2ec75 100644 --- a/EndlessVendetta/Content/Levels/ControlTutorialLevel.umap +++ b/EndlessVendetta/Content/Levels/ControlTutorialLevel.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0ef5c78925fa5ca9dfc7adfd2ca451aa52aa43d7758e3fd79bd96ec5e2b93e3f -size 17258870 +oid sha256:fd23ac551cb1b1ad7a394240df7debda990d2c1e109b76d509450b07e8d9bc8c +size 17263039 diff --git a/EndlessVendetta/Content/Ships/LandingZone.uasset b/EndlessVendetta/Content/Ships/LandingZone.uasset index 240c4ca7..1b67d0ff 100644 --- a/EndlessVendetta/Content/Ships/LandingZone.uasset +++ b/EndlessVendetta/Content/Ships/LandingZone.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:da33d59112579d5b614efe76d99dc035e97c533fdbdaaf6a8a0c01a149c375a1 -size 119821 +oid sha256:42989599af0f10186eacd9db7ef822add5c627c3fd9bdeb7f55771877a1daf01 +size 115413 diff --git a/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset b/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset index 4867a9c1..e69b8c8f 100644 --- a/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset +++ b/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c20a9d0ff7162e4ba047faa465ec75c0f6084b4a4f7afb18958587d60d07d93a +oid sha256:57929995ff1bd550536f4bc076dfbbd6c19b49c5f413a9a458690228a5dc93e1 size 66790690 diff --git a/EndlessVendetta/Source/EndlessVendetta/SpaceShip/SpaceShip.cpp b/EndlessVendetta/Source/EndlessVendetta/SpaceShip/SpaceShip.cpp index 5eb4610a..a12d3bcf 100644 --- a/EndlessVendetta/Source/EndlessVendetta/SpaceShip/SpaceShip.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/SpaceShip/SpaceShip.cpp @@ -18,7 +18,7 @@ void ASpaceShip::SightCheck() FCollisionObjectQueryParams ObjectQueryParams; ObjectQueryParams.AddObjectTypesToQuery(ECollisionChannel::ECC_GameTraceChannel2); FVector LT_Start = SeatComponent->GetComponentLocation(); - FVector LT_End = LT_Start + (SeatComponent->GetForwardVector() * 50000); + FVector LT_End = LT_Start + (SeatComponent->GetForwardVector() * 500000); GetWorld()->LineTraceSingleByObjectType(OutHit, LT_Start, LT_End, ObjectQueryParams); ALandingZone* LZ = Cast(OutHit.GetActor()); if (!IsValid(LZ)) return;