From 84af92b8e2b72a75c9237eefeb957d448399dc9f Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Sat, 13 Mar 2021 18:57:44 +0000 Subject: [PATCH] fixes --- QSB/ItemSync/CustomNomaiRemoteCameraPlatform.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/QSB/ItemSync/CustomNomaiRemoteCameraPlatform.cs b/QSB/ItemSync/CustomNomaiRemoteCameraPlatform.cs index 7ea7fed1..8895ba51 100644 --- a/QSB/ItemSync/CustomNomaiRemoteCameraPlatform.cs +++ b/QSB/ItemSync/CustomNomaiRemoteCameraPlatform.cs @@ -712,11 +712,12 @@ namespace QSB.ItemSync var mirror = hologramCopy.gameObject.AddComponent(); - hologramCopy.Find("player_mesh_noSuit:Traveller_HEA_Player/player_mesh_noSuit:Player_Head").gameObject.layer = 0; - hologramCopy.Find("Traveller_Mesh_v01:Traveller_Geo/Traveller_Mesh_v01:PlayerSuit_Helmet").gameObject.layer = 0; + hologramCopy.GetChild(0).Find("player_mesh_noSuit:Traveller_HEA_Player/player_mesh_noSuit:Player_Head").gameObject.layer = 0; + hologramCopy.GetChild(0).Find("Traveller_Mesh_v01:Traveller_Geo/Traveller_Mesh_v01:PlayerSuit_Helmet").gameObject.layer = 0; - var ikSync = hologramCopy.GetChild(0).gameObject.AddComponent(); - ikSync.Init(player.CameraBody.transform); + // TODO : Look at this again... probably need to sync head rotation to something else + //var ikSync = hologramCopy.GetChild(0).gameObject.AddComponent(); + //ikSync.Init(player.CameraBody.transform); if (player.AnimationSync.VisibleAnimator == null) {