Thank you so much, only helpful tutorial I've found on this!!! Saved me for my project
@lightsandclockwork Жыл бұрын
Your welcome, i am glad it has been a help. Please feel free to make a suggestion for future content.
@namratabhadane46989 ай бұрын
@@lightsandclockwork thank you sir this video is very helpful sir i have project that i want make animated story by using image target you have any suggestion that than you can please help me
@vishvamurthy80896 ай бұрын
How to remove the game object if the tracked image not on the scene? I tried setActive(false) and Destroy() but nothing works. need some help.
@lightsandclockwork6 ай бұрын
Unfortunately not. I spent a long time trying to come up with an alternative. The 'lost tracking' function inferred in the oculus/unity documentation hasnt been implemented. I tried adding a timer to auto delete, but it didnt pick it back up when it started tracking again.
@vishvamurthy80895 ай бұрын
@@lightsandclockwork Ho okay, thank you for the reply . Happy coding 🧑🏻💻😄
@gangeshsakthi8686Ай бұрын
Man I can't save the effects of the script it says file path attribute is missing
@lightsandclockwork23 күн бұрын
Apologies for the delay - You have possibly downloaded the file into the wrong folder?
@gangeshsakthi8686Ай бұрын
And the prefabs don't seem to recognise the image they span some where else
@lightsandclockwork23 күн бұрын
See my video with common mistakes, it is easy to create an offset with the models and tracking images
@didinks1012 Жыл бұрын
Thank you so much for the clear tutorial! It's exactly what I needed and I really appreciated you going through the code and explaining it. I have an unexpected problem - everything works perfectly once I build the app on an Android phone, but nothing really happens in the play mode in unity - I placed the reference image targets, but the prefabs don't spawn on them. It works with the AR Target Image manager only - in which case I and up just having one prefab spawned over the two reference images. But if I put no image as a tracked image prefab in the manager and leave it to the Image Tracker script - no prefab is activated. I have both the AR Tracked image manager and the Image Tracker script on my XR Origin. Have you encountered a problem like this? Cheers!
@lightsandclockwork Жыл бұрын
Yes. Many times.. My IRL students have. The most common error is not naming the prefabs the EXACT same name as the image you are tracking. Or forgetting to put the images in the image library. Another mistake is in edit mode, displacing the prefab 3d object from the empty it is attached to. I am planning to make a common errors video. ASAP.
@didinks1012 Жыл бұрын
@@lightsandclockwork common errors video would be so helpful, thank you for doing this! I checked those mistakes and everything seems to be set up properly, also the weirdest thing for me is that once I make a build on my Android phone it works almost perfectly - only when moving the reference image it lags a bit, the tracking could be better, but it still works. I'm curious about what you mentioned while explaining the script about not putting a destroy function because AR Core doesn't support it. I'm curious to know more about that? And if there is any way to support the channel
@lightsandclockwork Жыл бұрын
Hmm, sorry don't know. It can be hard to debug at a distance. You have created separate projects for each one? My simulation is a different project to my Android one. I only did simulation as at the school i work at we cannot plug in our phones to compile to. The lag is outside of my control. My phone (galaxy note) is pretty good, but one of my students has a much older phone and is quite laggy. Support? Thank you for the thought. Like and share :)
@wagmidahal22282 ай бұрын
Really grateful for the tutorial. But I get the same prefabs for both planets.I checked the code; its the same. Do you have something to help me with?
@lightsandclockworkАй бұрын
Sorry, i did respond to this, but it didnt seem to post!? Did you remove the prefab from the original Tracking Manager Script? Did you name and tag correctly?
@MeanMachine9959 ай бұрын
Hi I have a problem which I couldn't resolve even with the new video... I have 2 images set up as well as 2 prefabs. The problem is, it alway instatiates both prefabs on top of each other even if only one trackable image is there to be recognized... I already checked the naming... I have no idea what is happening here... Hope you hav an idea. Thanks in advance!
@lightsandclockwork9 ай бұрын
A coulpe of things?? Have you removed the prefab from the AR Tracked Image Manager script? That was just a place holder before writing multi image handler. When i cant figure out what is going wrong, i create a new scene and start again. Have you accidently parented the 2 prefabs?, open each one (double click the actual prefab)
@marieforschbach10074 ай бұрын
Thank you so much for your tutorials, they have been incredibly helpful! Have you ever considered a project on how to design a cubical, 6-sided tracked object to project something onto the cube? I'd really appreciate input on that kind of AR-tool!
@lightsandclockwork3 ай бұрын
I have been thinking about this since you mentioned it. It should be no different than what i show here... except.. when you can no longer see the sides. At the time i did this tutorial there was no obvious way to handle lost tracked images. I will re-look into it.
@marieforschbach10073 ай бұрын
@@lightsandclockwork thanks a lot! :)
@zaeem76418 ай бұрын
thank for the video , but can we put 1 image and 1 video together? can you show some tutorial
@lightsandclockwork8 ай бұрын
You're welcome. Do you mean play a video over the tracked image? If so, i cover that in this video. kzbin.info/www/bejne/gJ-vq6KOermVjdU
@zaeem76418 ай бұрын
@@lightsandclockwork yeah like that , but my final project is i have must 3d object plus a video over the tracked image , can you show me some tutorial , by the way where i can contact you if i have any question?
@lightsandclockwork8 ай бұрын
Hi, I show you how to add a video in the link i shared. Sorry not available for direct support at the moment, I have a lot on with my full time job.
@lightsandclockwork8 ай бұрын
As mentioned try the video i added the link to, if you dont succeed, let me know.
@lightsandclockwork8 ай бұрын
Apologies, i do not explain it! I thought i did. I briefly mention it here. kzbin.info/www/bejne/ioi8YqKbpa2qn9Usi=9h8soB9rL1yTL4mT&t=291 But basically, create a cuboid and drag a video on to it, like you apply an image texture. I'll try and fit it in a video soon.
@keknait67246 ай бұрын
Hey, its really nice tutorial. But i cant figure out why my build is not working. Its perfectly okey in the unity but when i build for the android its not working. My cam is working in app but its not tracking the images i guess cause when i scan the image from app my prefabs doesn't show up. Can you help about this case? Or any suggestions?
@lightsandclockwork6 ай бұрын
Hi, Thanks. Have you watched my Android specific video? kzbin.info/www/bejne/gJ-vq6KOermVjdU
@keknait67246 ай бұрын
@@lightsandclockwork Yeah sure i watched all the videos. And i did all the build settings. But as i said the app is not working :/
@lightsandclockwork6 ай бұрын
really sorry, very hard to know over the net. In my real classes i can spend a long time trying to figure out why something isnt working, it sometimes can a missing tickbox, wrong library. Sometimes, starting a fresh project can magically fix problems.
@Hackcastq Жыл бұрын
Hello, the tutorial is very useful for me, but when I wanted to install the demo in the first video on my phone (android) and try it, it didn't work, could you please help me?
@lightsandclockwork Жыл бұрын
Hi, Exporting to android requires creating quite different project settings and a new scene making. The code stays the same. I will covering this in a new tutorial in the very near future.
@lightsandclockwork Жыл бұрын
New tutorial out now.
@crossfire82198 ай бұрын
the prefabs are not appearing i followed your instructions well
@lightsandclockwork8 ай бұрын
Hi, Check out my other video, i include common errors. Also, I have identified a new common error, try scaling down your images and dont have them too far away from the camera. kzbin.info/www/bejne/aIenhYp7rL6sm80
@AnjaFritschi9 ай бұрын
Thanks for the tutorial. Everything worked pretty well but i keep getting the same prefab gameobject for both pictures even tho i have the exact same code script as you. do you have some inputs where to look at?
@lightsandclockwork9 ай бұрын
Hi, It might be worth checking my later video where i speedrun the whole thing while going over common errors. but... This video has been out a while and i have yours is the same problem in 2 days.. i wonder if a unity update has changed things. You may want to try... Have you removed the prefab from the AR Tracked Image Manager script? That was just a place holder before writing multi image handler. When i cant figure out what is going wrong, i create a new scene and start again. Have you accidentally parented the 2 prefabs?, open each one (double click the actual prefab)
@TheItachi40773 ай бұрын
Very nice tutorial
@lightsandclockwork2 ай бұрын
Thanks for watching
@arunstedaxis5 ай бұрын
i have exported the app at this stage but marker isnt working ...idk why if u open the app and show the image from monitor its not showing the model i fixed
@lightsandclockwork5 ай бұрын
Hi, Have you watched my dedicated android tutorial? kzbin.info/www/bejne/gJ-vq6KOermVjdU