mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
work on orbs
This commit is contained in:
parent
bf4daef815
commit
bd531dca6e
@ -345,8 +345,8 @@ namespace NewHorizons.Builder.Props
|
||||
|
||||
else if (component is NomaiInterfaceOrb orb)
|
||||
{
|
||||
orb._parentAstroObject = planetGO.GetComponent<AstroObject>();
|
||||
orb._parentBody = planetGO.GetComponent<OWRigidbody>();
|
||||
// TODO: orb lock count is negative. this breaks things. simply resetting it does not work
|
||||
orb.GetComponent<ConstantForceDetector>()._detectableFields = new ForceVolume[] { planetGO.GetComponent<AstroObject>().GetGravityVolume() };
|
||||
}
|
||||
|
||||
else if (component is VisionTorchItem torchItem)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user