Hey grat videos, I am wondering can u help me, similar what you are doing in this tutorial, but everytime it changes effect, i want to make a pop up text said what is thatI(Normal, filter 1, filter bw, and others). Do youu know how can i do that? Thanks
One way to do this would be to nest the text object under the other object being controlled by the tap to change script in the scene hierarchy in the object panel.
This video was a life saver!!! Im using it to rotate through images. I get a little flicker between changes though, where the pics disappear for a second? Is there something I'm doing wrong?
Yes! To do this you add a Touch Component to your object that you want to be the button and add the script to the same object. Here’s more info: docs.snap.com/lens-studio/references/guides/lens-features/adding-interactivity/touch-input/
Thanks, this helped a lot! Also I tried it with audio, but when it goes back to the fist song, the audio doesn't play anymore. Do you know if there is a way around this?
Hi! A question - I'm trying to put the behavior script on two 3D objects. It works on one of them, but for object number two it disappears when tapped, but doesn't come back when tapped again. Is it the scripts somehow interfering with each other and do you know how I can solve it? Thanks for a great tutorial!
I found the solution, and will share the answer here in case someone else ever has the same issue. You have to put the script correctly "connected" in the hierarchy, so I put it directly under the meshobject, its supposed to be connected to the prefab (I think its called that).
Glad you got it figured out! And yeah, if the script is attached to an object that gets disabled, the script also gets disabled and won't run. So moving the script off the object you are enabling/disabling is the correct way to do it in this case.
TOP! THANK YOU MAN!!!! AMAZING SCRIPT
Hi! Do you know how to make it automatically switch to a different color after 5 seconds vs having to tap?
Awesome video! Helped a lot ❤️
Thank you 💐
this really helped thx
thank you
Hey grat videos, I am wondering can u help me, similar what you are doing in this tutorial, but everytime it changes effect, i want to make a pop up text said what is thatI(Normal, filter 1, filter bw, and others). Do youu know how can i do that? Thanks
One way to do this would be to nest the text object under the other object being controlled by the tap to change script in the scene hierarchy in the object panel.
Thank you ;)
Why i don't get obj value option in script
Is this on the custom tap to change script? You need to click on "+ Add Value" before the selection box will appear.
This video was a life saver!!! Im using it to rotate through images. I get a little flicker between changes though, where the pics disappear for a second? Is there something I'm doing wrong?
I don't think so. Is the flicker in Lens Studio, on your device, or both?
Hey mate, Really awesome tutorial. if i want to add this tap to a specific button on the screen instead of the whole screen would that be possible?
Yes! To do this you add a Touch Component to your object that you want to be the button and add the script to the same object. Here’s more info: docs.snap.com/lens-studio/references/guides/lens-features/adding-interactivity/touch-input/
@@ModelsbyMike3d you can maked a Tutorial please 🥺
@@ccc3420 th-cam.com/video/5e9-jE3IO5o/w-d-xo.html
Thanks, this helped a lot!
Also I tried it with audio, but when it goes back to the fist song, the audio doesn't play anymore. Do you know if there is a way around this?
I'm not sure, I haven't done much with audio inside of Lens Studio.
Hi! A question - I'm trying to put the behavior script on two 3D objects. It works on one of them, but for object number two it disappears when tapped, but doesn't come back when tapped again. Is it the scripts somehow interfering with each other and do you know how I can solve it? Thanks for a great tutorial!
I found the solution, and will share the answer here in case someone else ever has the same issue. You have to put the script correctly "connected" in the hierarchy, so I put it directly under the meshobject, its supposed to be connected to the prefab (I think its called that).
Glad you got it figured out! And yeah, if the script is attached to an object that gets disabled, the script also gets disabled and won't run. So moving the script off the object you are enabling/disabling is the correct way to do it in this case.