mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Move Default
This commit is contained in:
parent
b4739ce67f
commit
6f7314726a
@ -37,7 +37,8 @@ namespace NewHorizons.Builder.Body
|
||||
cubeSphere.SetActive(false);
|
||||
cubeSphere.transform.parent = sector?.transform ?? planetGO.transform;
|
||||
cubeSphere.transform.rotation = Quaternion.Euler(90, 0, 0);
|
||||
cubeSphere.transform.localScale = module.Stretch;
|
||||
if (module.Stretch != null) cubeSphere.transform.localScale = module.Stretch;
|
||||
else cubeSphere.transform.localScale = Vector3.one;
|
||||
|
||||
Mesh mesh = CubeSphere.Build(51, heightMap, module.MinHeight, module.MaxHeight);
|
||||
|
||||
|
||||
2
NewHorizons/External/HeightMapModule.cs
vendored
2
NewHorizons/External/HeightMapModule.cs
vendored
@ -9,6 +9,6 @@ namespace NewHorizons.External
|
||||
public string TextureMap { get; set; }
|
||||
public float MinHeight { get; set; }
|
||||
public float MaxHeight { get; set; }
|
||||
public MVector3 Stretch { get; set; } = (MVector3)Vector3.one;
|
||||
public MVector3 Stretch { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user