I just got saving and loading WorldAnchors to work. Now, I'm trying to save the positions of children of the anchor relative to the coordinate system of the anchor, so that when the app loads the children can be instantly in the correct position. In Unity editor, the (0,0,0) position of the child is always the parent. However, I have some debug text floating around in my app that constantly tells me the value of gameObject.transform.position (gameObject is the child of the anchor) I also made a button that sets the transform.position of the child to (0,0,0) When I tap this button on the HoloLens, the child teleports to where my head was when the app started (I think. Very near at least). So, in Unity (0,0,0) for the child means the position of the parent, but on the HoloLens it is the origin of the main coordinate system. How do I access the coordinate system of the anchor?
Just discovered transform.localposition Would've been helpful to include in https://docs.microsoft.com/en-us/windows/mixed-reality/spatial-anchors