This repository was archived by the owner on Jul 28, 2020. It is now read-only.
This repository was archived by the owner on Jul 28, 2020. It is now read-only.
Adding an object on vertical plane always rotated. #65
Closed
Description
I am adding a TV Model on a vertical plane. TV is always rotated in the y-axis.
It should be parallel to the horizontal plane.
My code for placing TV object on vertical Plane is -
AnchorNode anchorNode = new AnchorNode(hit.createAnchor());
TransformableNode node = new TransformableNode(fragment.getTransformationSystem());
node.setRenderable(renderable);
node.setParent(anchorNode);
fragment.getArSceneView().getScene().addChild(anchorNode);