Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'scale' property of ArCoreReferenceNode doesn't work #73

Closed
rishikeshkchapekar opened this issue Oct 8, 2020 · 1 comment
Closed

'scale' property of ArCoreReferenceNode doesn't work #73

rishikeshkchapekar opened this issue Oct 8, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@rishikeshkchapekar
Copy link

rishikeshkchapekar commented Oct 8, 2020

Code:

arCoreController.addArCoreNodeWithAnchor(
          ArCoreReferenceNode(
            name: "burger",
            object3DFileName:"Hamburger.sfb",
            scale: vector.Vector3(0.1,0.1,0.1),
            position: plane.pose.translation,
            rotation: plane.pose.rotation,
          ),
    
    );

Issue:

The object is too big, so I'm trying to scale it down to 10% of the size. But scale: vector.Vector3(0.1,0.1,0.1) does not work. The object doesn't get scaled. Tried for multiple values, but the object remains the same size.

Also tried it for various objects.

@giandifra giandifra added the bug Something isn't working label Oct 8, 2020
@giandifra
Copy link
Owner

Try transformable_node branch and follow #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants