mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Multiply by 2 to match top layer
This commit is contained in:
parent
778ccfadf3
commit
ac6b6aa191
@ -18,6 +18,10 @@ namespace NewHorizons.Builder.Body
|
|||||||
groundGO.GetComponent<MeshFilter>().mesh = topLayer.GetComponent<MeshFilter>().mesh;
|
groundGO.GetComponent<MeshFilter>().mesh = topLayer.GetComponent<MeshFilter>().mesh;
|
||||||
groundGO.GetComponent<SphereCollider>().radius = 1f;
|
groundGO.GetComponent<SphereCollider>().radius = 1f;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
groundGO.transform.localScale *= 2;
|
||||||
|
}
|
||||||
groundGO.SetActive(true);
|
groundGO.SetActive(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user