Copy link to clipboard
Copied
I need to make an interactive turntable of my 3d model, where users can rotate the model and see it from different angles. And it should start rotating automatically in a few seconds if the user stops rotating it manually. Something like this: Katt Turntable by KP-ShadowSquirrel on DeviantArt
Can anyone help?
Thanks.
Copy link to clipboard
Copied
is your 3d model rotation added to a timeline?
Copy link to clipboard
Copied
Yes it is.
Copy link to clipboard
Copied
then use gotoAndStop in the listener function.
if you need more help than that, you'll need to supply more info and code you're using, so far to control the display.
Copy link to clipboard
Copied
Oh this is kinda embarrassing, I don't have a code. That's why I need help.
Copy link to clipboard
Copied
how will users control the display?
Copy link to clipboard
Copied
Well I was thinking by dragging the mouse or maybe by clicking on two small arrow keys.
Copy link to clipboard
Copied
If you look at the reference model, users press an arrow to make it continuously turn, or click an on screen button to make it step one position.
Given that you haven't yet started to do this, you do have an option of making it be in HTML5 Canvas, and not ActionScript 3 (which this forum is about). Where will users be at the time that they view your model? If it's in a browser, might they be using mobile?
Copy link to clipboard
Copied
They'll be viewing it on a website (deviantart.com) and yes they might be using a mobile phone.
Copy link to clipboard
Copied
I would make it be HTML5 Canvas then.
Do you have anyone involved who does JavaScript? It's not a very hard thing to do, but it's a lot harder to explain how to do it to someone who doesn't do JavaScript.
Maybe me, or someone else will just do an example for you!
Copy link to clipboard
Copied
Hi.
DeviantArt uses SWF embedding and seems to support a animated GIF fallback for mobile devices.
Here is an example of what you want using mouse drag: Re: How to scrub through Frames with decelerating "gotoAndStop" function?
Please let us know if this works for you.
Regards,
JC
Find more inspiration, events, and resources on the new Adobe Community
Explore Now