Skip to content
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
@jagsrajput21

Description

@jagsrajput21

I am adding a TV Model on a vertical plane. TV is always rotated in the y-axis.

screenshot_20180604-122250

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions