change the lantern socket point

This commit is contained in:
Mister_Nebula 2022-01-22 18:28:12 +00:00
parent 628ed51699
commit cacab9c58c
2 changed files with 11 additions and 5 deletions

View File

@ -109,7 +109,7 @@ namespace QSB.Player
public Transform SharedStoneSocket => CameraBody.transform.Find("REMOTE_SharedStoneSocket");
public Transform WarpCoreSocket => CameraBody.transform.Find("REMOTE_WarpCoreSocket");
public Transform VesselCoreSocket => CameraBody.transform.Find("REMOTE_VesselCoreSocket");
public Transform SimpleLanternSocket => CameraBody.transform.Find("REMOTE_SimpleLanternSocket");
public Transform SimpleLanternSocket => Body.transform.Find("REMOTE_SimpleLanternSocket");
public Transform DreamLanternSocket => CameraBody.transform.Find("REMOTE_DreamLanternSocket");
public Transform SlideReelSocket => CameraBody.transform.Find("REMOTE_SlideReelSocket");
public Transform VisionTorchSocket => CameraBody.transform.Find("REMOTE_VisionTorchSocket");

View File

@ -73,6 +73,12 @@ namespace QSB.Tools
hold.transform.localPosition = Vector3.zero;
hold.transform.localRotation = Quaternion.Euler(0f, 0f, 0f);
var itemCarryTool = new GameObject("REMOTE_ItemCarryTool");
itemCarryTool.transform.parent = cameraBody.parent;
itemCarryTool.transform.localPosition = new Vector3(0, 0.8496093f, 0.1500003f);
itemCarryTool.transform.localRotation = Quaternion.Euler(0f, 0f, 0f);
itemCarryTool.transform.localScale = Vector3.one;
var item = new GameObject("REMOTE_ItemSocket");
item.transform.parent = cameraBody;
item.transform.localPosition = new Vector3(0.125f, -0.12f, 0.2f);
@ -104,10 +110,10 @@ namespace QSB.Tools
vesselCore.transform.localScale = new Vector3(0.27f, 0.27f, 0.27f);
var simpleLantern = new GameObject("REMOTE_SimpleLanternSocket");
simpleLantern.transform.parent = cameraBody;
simpleLantern.transform.localPosition = new Vector3(0.242997f, -0.18f, 0.2620007f);
simpleLantern.transform.localRotation = Quaternion.Euler(0f, 33f, 0f);
simpleLantern.transform.localScale = new Vector3(0.33f, 0.33f, 0.33f);
simpleLantern.transform.parent = itemCarryTool.transform;
simpleLantern.transform.localPosition = new Vector3(0.378f, -0.861f, 0.14f);
simpleLantern.transform.localRotation = Quaternion.Euler(0f, 0f, 0f);
simpleLantern.transform.localScale = new Vector3(0.75f, 0.75f, 0.75f);
var dreamLantern = new GameObject("REMOTE_DreamLanternSocket");
dreamLantern.transform.parent = cameraBody;