First of all, I am not a coder and trying to do everything in Studio. I have been able to copy and paste some custom components but I can’t find anything that does this. I have a glb and I want to have a button on screen that when clicked, plays a specific animation associated with the glb. Does anyone have a simple script for this? I have been trying to get ChatGPT to do it and it keeps hallucinating…thinking it knows 8th wall Studio but it doesn’t. Thanks!
Have you taken a look at the button sample project? It’s pretty similar, however instead of adding a ScaleAnimation you would mutate your GltfModel component to change the current animationClip.
Yes, the button example works well. I did not know about the mutate thing.Thanks, I’ll see if I can make it work.
Sounds good! I’d also recommend joining our Discord: 8th Wall