Replies: 1 comment 3 replies
-
I think the best way would be to cut your animation in half, just going from together to exploded. Then you can call Only caveat is we have some bugs on the animation, so take a look at the issues list if you are having odd behavior. |
Beta Was this translation helpful? Give feedback.
3 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.
-
I am not a coder but I try my best to figure things out on my own. But this time I am stuck and looking for some help.
I have some models that I want to animate into an exploded parts view and then animate back together by clicking a button toggle.
I have animated the GLB model in Blender with the parts separation animation I want.
Here's what I am trying to do in detail:
Here is the code I have been able to cable together thus far, (again, fair warning I am not a coder):
The following code lets me click a hotspot to start playing the exploded view animation, but I don't know how to make it so when the model reaches frame 15 the animation pauses. I think it might have something to do with the currentTime property.
Here is my model-viewer environment code:
I have the explodedButton set as a hotspot but I intend to change it a static button on the lower left corner of the screen once I figure out the first part.
Any help appreciated!
Beta Was this translation helpful? Give feedback.
All reactions