At https://developer.apple.com/documentation/arkit/arscnview/providing_3d_virtual_content_with_scenekit
there is the line of code:
planeNode.position = SCNVector3Make(planeAnchor.center.x, 0, planeAnchor.center.z)
Why is the y coordinate 0? Why not use the y coordinate of the anchor?