From c9235c07c7ae0114be5a5571774bde5dd15d7484 Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Sun, 19 Jun 2022 23:09:24 -0400 Subject: [PATCH] Change default warp position/rotation --- NewHorizons/Handlers/VesselWarpHandler.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NewHorizons/Handlers/VesselWarpHandler.cs b/NewHorizons/Handlers/VesselWarpHandler.cs index 16a336d5..1ab948e9 100644 --- a/NewHorizons/Handlers/VesselWarpHandler.cs +++ b/NewHorizons/Handlers/VesselWarpHandler.cs @@ -131,9 +131,13 @@ namespace NewHorizons.Handlers if (system.Config.warpExitPosition != null) vesselWarpController._targetWarpPlatform.transform.localPosition = system.Config.warpExitPosition; + else + vesselWarpController._targetWarpPlatform.transform.localPosition = new Vector3(-95.6f, -41.7f, 36.9f); if (system.Config.warpExitRotation != null) vesselWarpController._targetWarpPlatform.transform.localEulerAngles = system.Config.warpExitRotation; + else + vesselWarpController._targetWarpPlatform.transform.localEulerAngles = Vector3.zero; vesselObject.GetComponent()._labelID = (UITextType)TranslationHandler.AddUI("VESSEL");