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

Box is shaking #13

Open
jinwoobot opened this issue Jan 22, 2020 · 4 comments
Open

Box is shaking #13

jinwoobot opened this issue Jan 22, 2020 · 4 comments

Comments

@jinwoobot
Copy link

jinwoobot commented Jan 22, 2020

When I used Starterkit,
The box is shaking so much.

Does it have a smooth option?

I think this example suitable for comparison.
https://github.com/jeromeetienne/AR.js#try-it-on-mobile

@willeastcott
Copy link
Contributor

No but that would be very easy to add. Just track the orientation reported by ARToolkit and instead of using that directly, just interpolate towards it.

@bjornsyse
Copy link

No but that would be very easy to add. Just track the orientation reported by ARToolkit and instead of using that directly, just interpolate towards it.

Would that be around here in the code?

image

@willeastcott
Copy link
Contributor

Yes, that's correct. You would lerp towards the finalMatrix position and rotation instead of setting them directly.

@sara87777
Copy link

Hi guys did anyone solve this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants