Skip to content

Commit

Permalink
Revert "fix: object shown at 0,0,0 for 1 frame after generating"
Browse files Browse the repository at this point in the history
This reverts commit e799f99.
  • Loading branch information
Hackebein committed Aug 21, 2024
1 parent 5ce1456 commit a8561b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Runtime/SetupTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<VRCParentConstraint>();
t_constraint.IsActive = true;
t_constraint.SolveInLocalSpace = true;
Expand Down

0 comments on commit a8561b2

Please sign in to comment.