enable le sphere shape so it all works

This commit is contained in:
JohnCorby 2022-07-14 20:58:41 -07:00
parent 0de5f5a1eb
commit a330856fc8

View File

@ -236,7 +236,9 @@ namespace NewHorizons.Builder.Body
fog._fogDensity *= scale;
var volumesShape = volumes.FindChild("ZeroG_Fluid_Audio_Volume");
volumesShape.GetComponent<SphereShape>().radius *= scale;
var sphereShape = volumesShape.GetComponent<SphereShape>();
sphereShape.enabled = true; // this starts disabled for some fucking reason
sphereShape.radius *= scale;
// Change fog color
if (body.Config.Bramble.dimension.fogTint != null)