mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
small fix for nomai orbs
This commit is contained in:
parent
3abaf1e37a
commit
bad6d0f84d
@ -209,6 +209,12 @@ namespace NewHorizons.Builder.Props
|
||||
playerAttachPoint._playerTransform = playerBody.transform;
|
||||
playerAttachPoint._fpsCamController = GameObject.Find("Player_Body/PlayerCamera").GetComponent<PlayerCameraController>();
|
||||
}
|
||||
|
||||
if (component is NomaiInterfaceOrb orb)
|
||||
{
|
||||
orb._parentAstroObject = planetGO.GetComponentInChildren<AstroObject>();
|
||||
orb._parentBody = planetGO.GetComponentInChildren<OWRigidbody>();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user