AR Kit placement challenges

We are trying to develop an App, where the user can place an object in AR . These objects, e.g. a plane, will be placed based on the user inputs (e.g. coordinate form a.x + b.y + c.z = d ).

As per the requirement, we have 3 points in the graph, X, Y, Z. The values of these 3 points are dynamic, so it doesn't have a constant shape.

Now, we tried to draw the shapes in a dynamic way. But the custom shape output we get does only have two-dimension (X and Y).

We tried multiple ways with static shape (e.g. rectangle or square) and we could achieve an acceptable result. But the plane is placed in the negative value of A, which is wrong.


The wished status is that the plane values do not enter the negative range of B. This looks like a placement problem that we are currently not able to solve.