Replies: 1 comment 2 replies
-
Sounds like you may have found an answer in #4168? I really do need to write up an example of this. If you happen to have a GLB authored with separate materials for the separate parts that you'd be willing to let us have under an open license, that would help a lot. We'll give credit, of course. |
Beta Was this translation helpful? Give feedback.
2 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.
-
Dear community,
I'm looking for some advice for the best approach to revealing objects within model viewer.
I have a chassis with an EV battery and EV motor. These 2 parts come with 2 options. The model will load with option 1 for both parts visible. The user can toggle the battery, and or motor, to upgraded versions that will become visible when the UI buttons are clicked. The user can go back and forth with the selections and in any combination.
Buttons
[Battery V1] [Battery V2] [Motor V1] [Motor V2]
Would it be best to handle this with a series of animations that are triggered from the buttons?
Is it possible to animate the shaders Alpha Factor with Blend enabled to fade the parts in and out?
Are there any tricks that accomplish the goal easily?
I'm not great at coding within model viewer so please be gentle.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions