model-viewer Rotate 3d model at 90 degree steps using JS and html button press. #3912
Unanswered
phatpixels
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I have a temp fix to this of animation play and timed pause, its not very precise but ok for now. It would be good to have JS control the model rotation to a precise angle without animation. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi There!
I have a button and a 3d object. I would like an object to rotate 90 degrees each time i press the onscreen button once. So if i press it 4 times it does a full 360 turn. With a smooth transition. I tried googling for an example but had no luck so far. Is this possible with model-viewer AR, Javascript and a regular html button? Somewhat new to this, just wondering if this level of interaction is possible. Thankyou
Beta Was this translation helpful? Give feedback.
All reactions