Add a comment

This commit is contained in:
Nick 2024-06-03 22:49:26 -04:00
parent 892bf624f4
commit e74e690ef8

View File

@ -11,6 +11,7 @@ namespace NewHorizons.Builder.General
{ {
var sectorGO = new GameObject("Sector"); var sectorGO = new GameObject("Sector");
sectorGO.SetActive(false); sectorGO.SetActive(false);
// Have to use set parent method without keeping world position to Fix sectors being rotated on tidally locked bodies #870
sectorGO.transform.SetParent(planetBody.transform, false); sectorGO.transform.SetParent(planetBody.transform, false);
var SS = sectorGO.AddComponent<SphereShape>(); var SS = sectorGO.AddComponent<SphereShape>();