From a8561b2455e578c90c57a8f094c23a5a01c63a15 Mon Sep 17 00:00:00 2001 From: Lars Olzem Date: Wed, 21 Aug 2024 23:04:26 +0200 Subject: [PATCH] Revert "fix: object shown at 0,0,0 for 1 frame after generating" This reverts commit e799f99048ac22b9e904f512b5078aad49bc4f03. --- Runtime/SetupTracker.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Runtime/SetupTracker.cs b/Runtime/SetupTracker.cs index 860e995..ed9640e 100644 --- a/Runtime/SetupTracker.cs +++ b/Runtime/SetupTracker.cs @@ -76,10 +76,6 @@ public SetupTracker(string name, Utility.TrackerType trackerType = Utility.Track public GameObject AppendObjects(GameObject parent) { GameObject t = Utility.FindOrCreateEmptyGameObject(name, parent); - if (applyLastPosition) { - t.transform.localPosition = new Vector3(defaultPX, defaultPY, defaultPZ); - t.transform.localRotation = Quaternion.Euler(defaultRX, defaultRY, defaultRZ); - } VRCParentConstraint t_constraint = t.AddComponent(); t_constraint.IsActive = true; t_constraint.SolveInLocalSpace = true;