I have point A (x,y,z) and point B (x, y, z) in ARWorld. I want to keep point A horizontally parallel to B or let's say both should be on the surface. See the image to get a better idea.
I am planning to get Y direction height or vertical height from A to B and then I will push down A by height. But how to find the height.
I want to keep A's x and z the same as it is.
Not sure how to articulate the issue, But aY - By does not work. NOTE: A and B both are different Anchor in ARKit. Box/Mesh is on the anchor. Seems like I need global absolute world positions. Is there any other way to get a rounded position in the image?

