Unity AR - Pinch to Scale
17:11
28 күн бұрын
Unity AR - Adding Video Textures
2:40
Пікірлер
@frankreiser_recaremo
@frankreiser_recaremo 10 күн бұрын
If possible - it would be nice to learn something to set the correct position of the camera. I checked Eye Level, Floor Level and Stage. They all need a different camera position - but I can't realy find it. Sometimes it feels and looks like half of the body is inside the floor and other values make me 3-4 meters tall.
@lightsandclockwork
@lightsandclockwork 8 күн бұрын
HI, this usually comes down to your headset calibration. I always use floor (or stage?) and make sure i have set the correct floor height in the room setup.
@frankreiser_recaremo
@frankreiser_recaremo 12 күн бұрын
Another amazing tutorial!!! Can't for more input - but first I bring it all to my project. I love it!!
@frankreiser_recaremo
@frankreiser_recaremo 12 күн бұрын
I follow a lot of your tutorials already and could update my medieval edutainment program. Maybe can solve issues I found: Every time I save I got this error: Saving Prefab to immutable folder is not allowed: Packages/com.meta.xr.sdk.interaction.ovr/Editor/Blocks/InteractableItems/Prefabs/[BB] Pokeable Plane.prefab. But the program runs without any issues. Is it correct that is a big performance difference beetween a) OVRPlayerController (as explained in tutorial 5) and b) OVRCameraRig with raycast (as explained in tutorial 6)? a) 120 fps wrong looking Crest water, no underwater effect. b) 240-300 fps and better looking Crest water and working underwater effect.
@lightsandclockwork
@lightsandclockwork 12 күн бұрын
I came across the immutable problem, i cannot remember how i fixed it!! :/ I will try and recreate/remember how. The player controller just adds movement from thumb sticks so shouldn't affect FPS. I am not aware of 'Crest Water'
@frankreiser_recaremo
@frankreiser_recaremo 12 күн бұрын
Again - Amazing! Informative, no blabla, good explained. Thank you.
@lightsandclockwork
@lightsandclockwork 12 күн бұрын
Thanks, and you are welcome.
@hoomannajafi5787
@hoomannajafi5787 13 күн бұрын
I have a problem with instantiated objects..why their all jittery and moving instead of standing still I realized in this video it's the same and your objects are moving too
@lightsandclockwork
@lightsandclockwork 12 күн бұрын
Jittery is out of my control. But i have noticed with my students in the real class room. The jitters, the quality of the phone it is running on changes to the accuracy.
@frankreiser_recaremo
@frankreiser_recaremo 13 күн бұрын
Amazing - it is so helpful - please continue
@lightsandclockwork
@lightsandclockwork 12 күн бұрын
Thank You. I absolutely want to continue :)
@Shadybilly25
@Shadybilly25 22 күн бұрын
Great one sir keep it up! 👍🏻
@0GRANATE0
@0GRANATE0 24 күн бұрын
my laser is going through the UI, I did everything you said :( what am I missing? UI is not clickable
@0GRANATE0
@0GRANATE0 24 күн бұрын
Ok it looks like some elements are clickable some not... Button is working, but ScrollView scrollers are not clickable? Do I need to assign some components/scripts to each of those UI elements to make them receive the laster pointer events?
@0GRANATE0
@0GRANATE0 24 күн бұрын
Ok it was overlayed with other elements (which were invisible but still received click events)
@guillermofleitaspulido
@guillermofleitaspulido 25 күн бұрын
Awesome tips!! Thanks for your work on this tutorial very much appreciated ! :D
@JReuben111
@JReuben111 28 күн бұрын
outdated - different setup steps for Quest 3
@lightsandclockwork
@lightsandclockwork 28 күн бұрын
Thanks, That's why i did this one :) kzbin.info/www/bejne/j5zKe4mim6asrc0 But i do still have students who are on older versions of unity and packages due to network managers. So it is still valid for some... for now..
@vishaldewangan9393
@vishaldewangan9393 Ай бұрын
How I can run this on my phone like how to debug this
@lightsandclockwork
@lightsandclockwork Ай бұрын
Hi, For Android you can follow my other video. kzbin.info/www/bejne/aZqQpWisr519hpo For iPhone, you need a mac and i don't have one, so cant offer a tutorial for that.
@user-mr8hh5ij8z
@user-mr8hh5ij8z Ай бұрын
@@lightsandclockwork do you have a tutorial for mac?
@lightsandclockwork
@lightsandclockwork 29 күн бұрын
No Sorry, as mentioned in the previous comment, i dont own an iPhone or a Mac, so i am not in a position to learn and make a tutorial. Now.. if i every make any income from youtube i will put one on my shopping list :) However i have been putting content on youtube for over 15 years and never earned a penny :/
@nullzero3455
@nullzero3455 Ай бұрын
is it possible to scale or rotate with pinch?
@lightsandclockwork
@lightsandclockwork Ай бұрын
Short answer is Yes :) Long anwser is... I dont know how, never done it, but i shall look into it, thanks for the suggestion, it sounds like an interesting feature and challenge.
@lightsandclockwork
@lightsandclockwork 29 күн бұрын
I have just added a video on scaling. I'll try and sort rotation out soon. I have had some success, but didnt look good.
@nullzero3455
@nullzero3455 28 күн бұрын
@@lightsandclockwork thank you! I'll try it out
@irinahagman9836
@irinahagman9836 Ай бұрын
Awesome, now it works!
@PrachiBhandare-zs3jq
@PrachiBhandare-zs3jq Ай бұрын
its giving me error inputSource is doesn't exist in OVRinputmodule
@lightsandclockwork
@lightsandclockwork Ай бұрын
Hi, Really sorry not sure. I think i came across this once... i restarted the project and then it worked :/ I will have a look and see if i can force the error.
@PrachiBhandare-zs3jq
@PrachiBhandare-zs3jq Ай бұрын
@@lightsandclockwork okay thank you... but my error is still there after restarting also its not clear
@thienphucquach1676
@thienphucquach1676 Ай бұрын
Thanks for your video, I have a question, why my prelab mars is not attached to the mars image :(( it's some distance away
@lightsandclockwork
@lightsandclockwork Ай бұрын
Hi, A common problem, yuo have most likely moved the image on the tracked image empty, so the picture you can see is in one place, but the tracker is somewhere else. I recap this in my speedrun tutorial. kzbin.info/www/bejne/aIenhYp7rL6sm80
@ricardojaviergarnicapena6749
@ricardojaviergarnicapena6749 Ай бұрын
Thank you. Is gonna be a second lesson? Interactions using buttons or joysticks?
@lightsandclockwork
@lightsandclockwork Ай бұрын
Hi, I am happy to do another lesson 2, but i have already covered this as it is the same as the quest 2. kzbin.info/www/bejne/oZqylHuKacymZs0
@guntherjw50
@guntherjw50 Ай бұрын
Thanks so much, I am a bit sicked by the fact that Unity's tutorial was not even in the same league as your tutorial Liked and Subscribed
@lightsandclockwork
@lightsandclockwork Ай бұрын
Thank you, very kind of you to say :)
@TaskForge
@TaskForge Ай бұрын
I’m following this tutorial but every time I try to press play in the XR environment the window changes to “#scene” and nothing works as it works in the video.
@lightsandclockwork
@lightsandclockwork Ай бұрын
Hi, I am sorry yuo are having issues. can i recommend you have a quick look at my other video? Common issues. kzbin.info/www/bejne/aIenhYp7rL6sm80
@nullzero3455
@nullzero3455 2 ай бұрын
Hello Sir, do you have a solution for scene transitions? I have a back button that returns me back to the main menu but it gives me this error: "MissingReferenceException: The object of type 'SimulatedTrackedImage' has been destroyed but you are still trying to access it." any ideas? thanks.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
Hi, If you read the full error message, it should tell which script is unhappy. But.. I think. You have attached a script in your scene, but have not assigned it the needed variables/prefabs/assets. Or you are deleting the required asset and then trying to use after you have deleted it. I will try and do a tutorial on working with AR scenes. I have covered it in VR, should be the same.
@nullzero3455
@nullzero3455 2 ай бұрын
@@lightsandclockwork yes, I added a DontDestroyOnLoad function on XR Origin, will check out your VR video. Thanks a bunch
@usaid2206
@usaid2206 2 ай бұрын
0:08 is probably my favorite robot yet
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
That is/will be my robot drummer.
@abhikhubby
@abhikhubby 2 ай бұрын
Have you by chance tried recording from the point of view of another camera in the scene? Like a have a room with a 2nd cam at the back facing the front of room, where I will be with my OVR rig moving around. , And the 2nd cam in the back is hooked up to the recorder- but the output of the recording is pitch black. Not seeing any errors on the recorder so not sure what the problem is.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
I spent that long thinking about this i forgot to answer. In short, no. I have only used this method as demonstrated. For other videos I use OBS and point the video capture at the video output i want. For other videos i record inside the Quest. If i wanted to record the output from 2 different cameras, i would undock the unity game views, place each view separately and then use OBS to setup 2 window captures. I would need to to use Oculus link for this.
@nerdjones242
@nerdjones242 2 ай бұрын
mine shows the wrong controllers( old black ones ), any idea why? I just started and these videos are the best thank you!
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
There is a menu on the inspector/script when you add the controller. You can select which controller you use. I used Left/Right Touch (i think)
@Hola-ld5ps
@Hola-ld5ps 2 ай бұрын
No se si podria subir el proyecto al repositorio de github, ya que algunos scritps no estan o si los script los puede subir
@Hola-ld5ps
@Hola-ld5ps 2 ай бұрын
Buen tutorial pero como no hablo muy ingles aun me quedan dudas
@nullzero3455
@nullzero3455 2 ай бұрын
hello sir, what can I do so that I can only have one info popup at a time? Like when I click mars multiple times it can only spawn one marsInfo gameObject
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
Hi, Basically you will will need to add a boolean variable. Start as false, only spawn if false and then set to true when spawning for the first time.
@lucutes2936
@lucutes2936 2 ай бұрын
69th like
@user-kd6lb7or9i
@user-kd6lb7or9i 2 ай бұрын
Very Usefull
@jamesrosko
@jamesrosko 2 ай бұрын
Thanks for the tutorials. I haven't used neopixels before. I'm looking forward to connecting with external power while keeping the programming USB connected. I've had a problem in the past where I've burned out my laptop USB port.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
Oh no! I am always worried about that, but so far hasnt happened. I make robot cars for teaching in class, they need batteries to power the motors and the kids often leave the battery pack on, when they plug in to re-code. I'll include some safety checks. I am sure someone with a higher level of electronics will show me a better way.
@usaid2206
@usaid2206 2 ай бұрын
Love the editing😁
@jettech1041
@jettech1041 2 ай бұрын
Thanks for taking the time to make these videos.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
You're Welcome :) Feel free to make suggestions for future content.
@crossfire8219
@crossfire8219 2 ай бұрын
the prefabs are not appearing i followed your instructions well
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
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
@zaeem7641
@zaeem7641 2 ай бұрын
thank for the video , but can we put 1 image and 1 video together? can you show some tutorial
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
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
@zaeem7641
@zaeem7641 2 ай бұрын
@@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?
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
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.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
As mentioned try the video i added the link to, if you dont succeed, let me know.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
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.
@shafqatali8672
@shafqatali8672 2 ай бұрын
@shafqatali8672
@shafqatali8672 2 ай бұрын
Thank you very much, Anyone, who watches this series will must subscribe because of the clear instructions +1 sub
@liorakeller283
@liorakeller283 2 ай бұрын
Thanks!!
@ultrawarrior1444
@ultrawarrior1444 2 ай бұрын
Thankou for wonderful work
@NSCLethal
@NSCLethal 2 ай бұрын
Great tutorial, thank you
@morybest
@morybest 2 ай бұрын
Definitely great tutorial , please continue such VR tutorials on Quest3 . because v3 is new and there no much tutorials for it.
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
Thanks, what sort of content/features would you like to see?
@Carlosddsi
@Carlosddsi Ай бұрын
​@@lightsandclockworkpls finishing a quickly game and explaining how to play it with the oculus.
@GonnaQul
@GonnaQul 3 ай бұрын
Hello. I need your help. Do you have this project ready?
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
sorry, no. I abandoned it. What you see is what i did. I was hoping someone might take it and improve
@VRandAugmentedTraining
@VRandAugmentedTraining 3 ай бұрын
I find your tutorials to be extremely helpful! I am still watching through them, but I was wondering if you could create a tutorial that shows how to open the hood of a semi truck with my controller or hand and have it hinged so that it opens like a door. I have already created the environment so that I can grab the hood and set it aside with my controller or hand, and I can also grab the engine inside and take it out.. But I would like different functionality like a hinged hood, and to have the engine slowly rise and rotate when touched in augmented reality. I plan on taking it further by adding text buttons to highlight individual components on the engine. This is for a learning environment like a classroom. Thank you again for your great series! An example of what I have created so far is here: kzbin.info/www/bejne/pZ64d3tsjNWZqrc
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
Hi, I like what you are working on! I have done something similar, i am/was working on a VR Piano, where i want the player lift key cover and the main lid. 3 methods. 1. Simple code - a trigger rotates the 'hood' using code (i'm in the UK it's a bonnet over here :) ) 2. as you say a hinge joint 3. key frame animation. I'll look into it and share my method and maybe aim to compare methods.
@VRandAugmentedTraining
@VRandAugmentedTraining 2 ай бұрын
@@lightsandclockwork I have made progress on my truck engine VR. I am now using VR Builder to create this: kzbin.info/www/bejne/r2qmn3-uo9Kpja8
@VRandAugmentedTraining
@VRandAugmentedTraining 2 ай бұрын
@@lightsandclockwork Just an update on my progress.. I have created this interactive experience using VR Builder asset in Unity: kzbin.info/www/bejne/r2qmn3-uo9Kpja8
@abhikhubby
@abhikhubby 3 ай бұрын
Thanks for making this video! Really helps new XR developers like me pick up things much faster.
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
Your welcome, I am working on part 2 now, hopefully out tomorrow. (if i can sort some bugs out)
@VivekSingh-yj9bo
@VivekSingh-yj9bo 3 ай бұрын
Please help me. I am not able to simulate during play. I did the exactly same how you did.
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
Sorry, i am not sure where it may have gone wrong, please check my newer video where i sppedrun it and i cover common errors.
@VivekSingh-yj9bo
@VivekSingh-yj9bo 3 ай бұрын
@@lightsandclockwork I got it It was my fault. Thanks for replying ☺️
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
i am glad you solved it :)
@domenicococcorese5372
@domenicococcorese5372 3 ай бұрын
Hi, tnx for the tutorial. Unfortunately it seems it doesn't work when I make an apk build
@lightsandclockwork
@lightsandclockwork 2 ай бұрын
So I don't know. what error messages do you get? Does it compile? Have you set/agreed to the positions? Set your phone as a developer device?
@NSCLethal
@NSCLethal 2 ай бұрын
@@lightsandclockworkYep does not work in a build, it does compile but i do not see the blue line and cannot interact
@NSCLethal
@NSCLethal 2 ай бұрын
Edit: I Fixed it, my issue was that the Unlit/Color shader was not included in the build-in shader settings in Edit -> Project Settings -> Graphics, because i am using the URP render pipeline
@kunalchoudhary4063
@kunalchoudhary4063 3 ай бұрын
I have followed all the videos and managed to develop a working version. Thank you. I can build the app, installed it on my phone. I can see the UI, hear the audio files. But the screen in black where it should use my phone camera and track the real-world. Please guide me with this. Wonderful playlist by the way.
@kunalchoudhary4063
@kunalchoudhary4063 3 ай бұрын
the camera is now working - but detection aspect is not working. I have one plus nord. I tried on Real Me andriod phone as well.
@Benaam-original
@Benaam-original 3 ай бұрын
When I click play. The sphere is not spawning. Help.
@Benaam-original
@Benaam-original 3 ай бұрын
I want to spawn a tooth on the basis of which card is shown. I am a dental student and want to make an app which shows a particular tooth when a card is shown. I have downloaded the model but I don't know how to deploy my model. But since my sphere isn't working either I don't know how to proceed further.
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
that sounds a really cool project! :) Check my newer speed run version, it covers common errors. When you have the sphere working, you should be abe to parent the tooth the sphere and then turn the sphere renderer off.
@nullzero3455
@nullzero3455 3 ай бұрын
the planet is not showing when I press on play, any suggestions?
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
Please check the speed run version, i highlight common mistakes.
@argentinayoutube8751
@argentinayoutube8751 3 ай бұрын
Hi, I have to suggest that the simulatedimageTracker should be rotate (-90,0,0). That simulatedImageTracker is facing upside by default(z axis point to forward),but the Quad Image is facing backward(z axis point to up). This will mislead the user and may incur some transform problems in real android devices.
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
Thanks, this is a good way to fix :)
@sohelipaul6034
@sohelipaul6034 3 ай бұрын
Hello sir, I have been following this tutorial to create a AR solar system project. But I am facing an issue with the tracking of image. If I give the coordinates of the prefabs as 0,0,0, they all get stacked in one place and that means the images are not properly tracked by the prefabs. Can you please help me to solve this issue quickly as I have to submit the project on tuesday, 16th april, 2024?
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
It sounds like you have moved the 'quad' and not the whole empty and quad. So the image you are seeing has been displaced from the simulated tracked image. Check the newer video where i speedrun with common mistakes.
@teigencarter5465
@teigencarter5465 3 ай бұрын
I have a 2D UI that has been implemented on top of an AR camera. I want the user to be able to use the interface while still viewing AR objects. When I implement the trackedImage, it does not appear on the simulation view. As soon as I move my camera, in Unity, to point to the image, the UI disappear off the simulation. Do you know how I can make sure the UI and image both remain on screen?
@lightsandclockwork
@lightsandclockwork 3 ай бұрын
Oh, i am not sure why you are having this problem. It is not one i have come across. I would suggest have a watch of my speedrun video with common errors. Maybe you have missed a setting. The UI should stay where it is and allow you to click on other objects. I will be doing a split screen ui tutorial in the next few days.
@olegmalk
@olegmalk 3 ай бұрын
Thanks for the video. seems it need to be added to the playlist to replace an older one.