mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
set stuff that matches base game
This commit is contained in:
parent
245870c2b9
commit
d972463f12
@ -77,6 +77,8 @@ namespace NewHorizons.Builder.Volumes
|
||||
detectorGO.layer = LayerMask.NameToLayer("BasicDetector");
|
||||
var detector = detectorGO.AddComponent<ConstantFluidDetector>();
|
||||
detector._onlyDetectableFluid = water;
|
||||
detector._buoyancy.boundingRadius = info.radius;
|
||||
detector._dontApplyForces = true;
|
||||
|
||||
submerge._fluidDetector = detector;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user