Change default warp position/rotation

This commit is contained in:
Noah Pilarski 2022-06-19 23:09:24 -04:00
parent 9558ee871f
commit c9235c07c7

View File

@ -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<MapMarker>()._labelID = (UITextType)TranslationHandler.AddUI("VESSEL");