mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Going to use the mock tornados
This commit is contained in:
parent
e6ac6c9c8a
commit
51f68030b2
@ -38,11 +38,11 @@ namespace NewHorizons.Builder.Props
|
||||
return;
|
||||
}
|
||||
|
||||
var prefab = GameObject.Find("GiantsDeep_Body/Sector_GD/Sector_GDInterior/Tornadoes_GDInterior/MovingTornadoes/Root/UpTornado_Pivot (2)");
|
||||
|
||||
var upPrefab = GameObject.Find("BrittleHollow_Body/Sector_BH/Sector_SouthHemisphere/Sector_SouthPole/Sector_Observatory/Interactables_Observatory/MockUpTornado");
|
||||
var downPrefab = GameObject.Find("BrittleHollow_Body/Sector_BH/Sector_SouthHemisphere/Sector_SouthPole/Sector_Observatory/Interactables_Observatory/MockDownTornado");
|
||||
// Default radius is 40, height is 837.0669
|
||||
|
||||
var tornadoGO = prefab.InstantiateInactive();
|
||||
var tornadoGO = upPrefab.InstantiateInactive();
|
||||
tornadoGO.transform.parent = sector?.transform ?? go.transform;
|
||||
tornadoGO.transform.localPosition = Vector3.zero;
|
||||
var tornado = tornadoGO.GetComponent<TornadoController>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user