Multiply by 2 to match top layer

This commit is contained in:
Noah Pilarski 2022-08-11 17:07:11 -04:00
parent 778ccfadf3
commit ac6b6aa191

View File

@ -18,6 +18,10 @@ namespace NewHorizons.Builder.Body
groundGO.GetComponent<MeshFilter>().mesh = topLayer.GetComponent<MeshFilter>().mesh;
groundGO.GetComponent<SphereCollider>().radius = 1f;
}
else
{
groundGO.transform.localScale *= 2;
}
groundGO.SetActive(true);
}
}