mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Add a comment
This commit is contained in:
parent
892bf624f4
commit
e74e690ef8
@ -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>();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user