I am trying to draw a line between two custom SCNNode points using ARKit. I am using this code https://github.com/TBXark/Ruler
Whenever I draw a line and move away from iPhone device while pointing at the line, its thickness changes. Also in 40% of cases, line breaks up and disappear from the node points.
I have already tried using multiple methods for this but still not getting the desired result.
I want the line to stay stationary between the points and not change in width as I move iPhone away from it. I want to behave it similar to "iOS Measure App" .