mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-07 13:05:41 +00:00
fixes
This commit is contained in:
parent
8c36b27f55
commit
84af92b8e2
@ -712,11 +712,12 @@ namespace QSB.ItemSync
|
||||
|
||||
var mirror = hologramCopy.gameObject.AddComponent<AnimatorMirror>();
|
||||
|
||||
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<PlayerHeadRotationSync>();
|
||||
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<PlayerHeadRotationSync>();
|
||||
//ikSync.Init(player.CameraBody.transform);
|
||||
|
||||
if (player.AnimationSync.VisibleAnimator == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user