Thanks heaps for the comments mate. While it might not be necessary it helps give me a good idea of what you're trying to achieve on each line and preemptively gets me thinking about how I might implement it before you have started typing the actual line out.
these videos are brilliant. I've learned so much from you over the last few months and you've really stepped up the content and complexity of the tutorials lately which is keeping them really interesting! Thank you so much. Will donate as soon as I start earning millions programming in Unity!!! ;-)
Cool video, but I have a question: Every time then I start the application, the north is turn for a different position. I do something wrong? There is a way to solve this? Thanks.
Thanks for this awesome set of tutorials. I've been wanting to accomplish something like this for a while. Your videos really help to add to my skill set in unity engine. Hopefully I can put everything I've learnt from you together into a game or app one day. Keep up the good work 👍
great video! solve most of my problem!! just wondering if you ever encounter "gyro drift" problem... my gyro just wasn't that accurate on pointing north... it just kept slowly rotate
Great tutorial. What I am looking for next is to be able to place the 3D object in the room and be able to walk around it. Is there an easy way to make the 3D object stay in its current relative location?
Great vid - thanks! Def. yes to your question about adding in comments in the code. Very helpful when coming back over the course of several days to help remember what each section is accomplishing. I'm also having the same prob. as several others re: the 'compass' staying in the center of the screen rather than on the 'floor.' Certainly seems like a gyro issue... Is it possible that some devices have a less functional gyroscope (as it works for most others, my first guess is that my elder device is the likely problem...?) Will keep at it. Finally, echoing the call for a tutorial on interaction (e.g. shooting/collecting via raycast?) with geo-located AR objects. (simple right... ;)
Thanks a lot for the tutorial. I also watched other tutorials getting the Webcam stream into the AR-Scene. In the other tutorial the stream is rendered to a 3D plane which is a child of the camera. The plane has to be placed at a distance so that all other objects in the AR-Scene are in front of it. The size of the plane has to be adapted to the cameras frustum of cause. Comparing the technic of this tutorial (rendering to UI Canvas) and the other (rendering to 3D plane) what are the advantages? I think the 3D plane is easier to implement. Are there performance disadvantages???
Great video, thanks. I have a problem, the camera is zoomed in and is not at default zoom setting when using all of your code? How do I fix the backgroundCamera to be default of 1x zoom?
Great tutorial serie!! Subscribed ;) Some time ago I worked on something similar and I had the need to use also the compass sensor data to get information about the real North. Does the Gyro.attitude include this information? Thank you very much by the way for sharing this
I believe unity has a crash bug that needs to be addressed. when using your scene for mark less AR, when you load another scene without AR, it crashes on mobile device. The player on pc does not crash, only on Android it crashes.
Great tutorial buddy.. thanks a lot.. you are making it simple... Instead of that red ball, need to have 3d objects and i'm thinking of making a markerless-AR shooting game.. Need your help on how we can tap to shoot the virtual objects on our real world cam.. Kind of mixing 'gyro and accelerator' Could you help?
Thanks for the great tutorial! Currently I'm working on a AR project. I try to match objects (like the Compass in the tutorial) sizes with "real" sizes in Unity. In portrait mode it works perfectly but when I rotate the phone to landscape position, the Compass appears smaller. Thanks for any hint! :)
Is there a way to say "if camera looks at image (red dot) play a sound??.. I kept my red dot static (not moving at all) and thought perhaps the main camera rotation would do it but it doesn't... :/ if (Camera.main.transform.rotation.x = -2 && Camera.main.transform.rotation.y = -5) { PlaySound(); } It not only plays when I look at it but also at other times.. argh..
@@Flehwah I found that (WebCamTexture.devices[i].name, Screen.width, Screen.height * 2); worked the same as my built in camera's normal unzoomed view.
Also, It's probably a silly question but why do you declare your Start and Update methods as private in your videos? I assume it's just a force of habit, but I'm curious if it's something I should start doing in my projects
It just would make no sense to be able to call a start or update from outside. When unity creates your script, he does not define the protection level "void Update()" When you don't define it, it defaults to private.
Having added in the red circle, I wanted it to remain stationary. The problem I'm having is that it seems to want to spend all its time off screen? If I turn fast enough, I can see before it rushes off to the left. If I move the object on Unity to the right then it appears in the center but why is it automatically positioned that way? Any help?
Hello, I'm one of your new subscriber and wondering if you can kindly do a summary of how 'Breakout Ninja' app/game was made, if possible a prototype of it like you did for Stacks. Btw great tutorial videos you have loving them so far. 🙂
Any help/tips as to getting the "compass" to follow True North? The Android compass seems way off & highly inaccurate when queried via Unity (even though it's dead-on when I open google maps)
When i put my markless ar Script on top of my main camera i dont get Background and fit in the drop down menu of the Markerless Ar (10:22). and when i ran the application it only shows a white screen.
excellent tutorial! i'm waiting also for the GPS tutorial :D you may later make a tutorial on how to optimize the games/programs for the use of multicore? now all smartphones have two or more CPU cores
Thanks for this tutorial, but i have one question, i export to android is success, but iphone not work, the compass in iphone is not point to north, is ios setting problem? please give me a hand, thank you
Hey, do you know how to calculate GPS coordinates into Unity space? Like if I wanted to put object in specific GPS coordinate point, how should I do it?
I have waited for this video yestarday! But it looks cool anyway :) P.S. Maybe you try to make AR shooter? ;) P.P.S I am really waiting for video about GPS
this is awesome!!! is it possible to load the 3d objects at specific location (lat/long...those values will be entered in json) and when i move my device and reached close enough to any location within json, it will then activate relative asset on the screen.
(can you explain how to do this, please ? I need this functionality (object appear in specific lat/log location but I don't know how to do this-this is first time I used unity
Thats a good question, i know that the magnetic Heading points towards North Pole, but since gyro.Attitude is a quaternion, i have trouble to say if they are equal
Hi there N3K, This isn't working for me, had a go at it thrice. My compas starts at the middle of the screen and stays there, is if it wasn't a Worldspace canvas. Do you know what might cause this? Thanks
Absolute beginner here, so I'm sure it's me, but but I followed the tutorial exactly, except using notepad++ because mono wasn't working for me. Loading the script into the Camera didn't populate 'background' and 'fit' as modifiable (attributes?). Any chance you could tell me what I did wrong?
I prefer using Visual Studio which is much better than mono, and it shows errors/warnings. Notepad++ is good for some things, but not when you need to use smart debugging tools.
It would be possible to place an object at the actual height of the floor?, even lowering the cellphone, the object would stay at the real height of the floor?
i run this on my android phone and it only show the compass, it does not use the camera and it does not rotate, what i did wrong? and it does not ask permission to allow camera either
Thanks heaps for the comments mate. While it might not be necessary it helps give me a good idea of what you're trying to achieve on each line and preemptively gets me thinking about how I might implement it before you have started typing the actual line out.
Hey, thats good to hear haha!
these videos are brilliant. I've learned so much from you over the last few months and you've really stepped up the content and complexity of the tutorials lately which is keeping them really interesting! Thank you so much. Will donate as soon as I start earning millions programming in Unity!!! ;-)
Let's all earn millions ayyy !
WE just need something as big as Pokemon and we'll be fine! Cheers again, best tutorials going right now.
Cool video, but I have a question: Every time then I start the application, the north is turn for a different position. I do something wrong? There is a way to solve this? Thanks.
Thanks for this awesome set of tutorials. I've been wanting to accomplish something like this for a while. Your videos really help to add to my skill set in unity engine. Hopefully I can put everything I've learnt from you together into a game or app one day.
Keep up the good work 👍
We're doing GPS next, make sure you tag along there could be real useful :P
great video!
solve most of my problem!!
just wondering if you ever encounter "gyro drift" problem...
my gyro just wasn't that accurate on pointing north... it just kept slowly rotate
Great tutorial. What I am looking for next is to be able to place the 3D object in the room and be able to walk around it. Is there an easy way to make the 3D object stay in its current relative location?
awesome tutorial, thank you! I have one question. The camera goes out of focus a lot. Is there any way to change that?
Great vid - thanks! Def. yes to your question about adding in comments in the code. Very helpful when coming back over the course of several days to help remember what each section is accomplishing.
I'm also having the same prob. as several others re: the 'compass' staying in the center of the screen rather than on the 'floor.' Certainly seems like a gyro issue... Is it possible that some devices have a less functional gyroscope (as it works for most others, my first guess is that my elder device is the likely problem...?) Will keep at it.
Finally, echoing the call for a tutorial on interaction (e.g. shooting/collecting via raycast?) with geo-located AR objects. (simple right... ;)
Thanks a lot for the tutorial. I also watched other tutorials getting the Webcam stream into the AR-Scene. In the other tutorial the stream is rendered to a 3D plane which is a child of the camera. The plane has to be placed at a distance so that all other objects in the AR-Scene are in front of it. The size of the plane has to be adapted to the cameras frustum of cause.
Comparing the technic of this tutorial (rendering to UI Canvas) and the other (rendering to 3D plane) what are the advantages?
I think the 3D plane is easier to implement. Are there performance disadvantages???
SUPER TUTORIAL - congratulation :-))) i'm waiting also for the GPS tutorial ;-)
Alright alright, its on the way!
Great video, thanks. I have a problem, the camera is zoomed in and is not at default zoom setting when using all of your code? How do I fix the backgroundCamera to be default of 1x zoom?
Great tutorial serie!! Subscribed ;) Some time ago I worked on something similar and I had the need to use also the compass sensor data to get information about the real North. Does the Gyro.attitude include this information?
Thank you very much by the way for sharing this
Check out Unity magneticHeading
Have you been able to fix it?
Your tutorial is awesome, congrats. Did managed to solve this true north issue? Thanks for you Tutorial.
I very like this tutorial.
I am trying and it's working.
Thanks
Where are you? We need more new video!
Markless Augmented Reality - Are there more videos for this?
I believe unity has a crash bug that needs to be addressed. when using your scene for mark less AR, when you load another scene without AR, it crashes on mobile device. The player on pc does not crash, only on Android it crashes.
Super great tutorial, just what I needed. Thank you!
Cheers friend !
Can you do a tutorial on augmented reality navigation...where you have a pointer showing you directions from your camera.
I search for something like this also, could you find anything helpful? my senior project use this functionality d Ii have deadline next week
Great tutorial buddy.. thanks a lot.. you are making it simple... Instead of that red ball, need to have 3d objects and i'm thinking of making a markerless-AR shooting game.. Need your help on how we can tap to shoot the virtual objects on our real world cam.. Kind of mixing 'gyro and accelerator' Could you help?
wow thank you so much I want to learn and know about this tech so when you explain it to me my feeling was fantastic omg;; thank you so much
Thanks for the great tutorial! Currently I'm working on a AR project. I try to match objects (like the Compass in the tutorial) sizes with "real" sizes in Unity. In portrait mode it works perfectly but when I rotate the phone to landscape position, the Compass appears smaller. Thanks for any hint! :)
Is there a way to say "if camera looks at image (red dot) play a sound??.. I kept my red dot static (not moving at all) and thought perhaps the main camera rotation would do it but it doesn't... :/
if (Camera.main.transform.rotation.x = -2 && Camera.main.transform.rotation.y = -5)
{
PlaySound();
}
It not only plays when I look at it but also at other times.. argh..
love your series very very much
Thanks friend :D
can you tell me which lines of code to fix so the AR background camera is not appearing as 2x zoom on the app background?
Omitting the width and height in the WebCamTexture Contructor improved this for me. It's still not as zoomed out as in the native camera app though.
@@Flehwah I found that (WebCamTexture.devices[i].name, Screen.width, Screen.height * 2); worked the same as my built in camera's normal unzoomed view.
Also, It's probably a silly question but why do you declare your Start and Update methods as private in your videos? I assume it's just a force of habit, but I'm curious if it's something I should start doing in my projects
It just would make no sense to be able to call a start or update from outside.
When unity creates your script, he does not define the protection level "void Update()"
When you don't define it, it defaults to private.
Having added in the red circle, I wanted it to remain stationary. The problem I'm having is that it seems to want to spend all its time off screen? If I turn fast enough, I can see before it rushes off to the left. If I move the object on Unity to the right then it appears in the center but why is it automatically positioned that way? Any help?
Hello, I'm one of your new subscriber and wondering if you can kindly do a summary of how 'Breakout Ninja' app/game was made, if possible a prototype of it like you did for Stacks. Btw great tutorial videos you have loving them so far. 🙂
can you make a full tutorial for mobile fps ( with character controller, shooting, aiming, reloading, displaying ammo)
That's a wonderful job!
Thank you :)
Waiting for a video about REST API with Unity :D
I wish you could provide us with the source code of every video, that's would be very useful and helpful
Any help/tips as to getting the "compass" to follow True North? The Android compass seems way off & highly inaccurate when queried via Unity (even though it's dead-on when I open google maps)
When i put my markless ar Script on top of my main camera i dont get Background and fit in the drop down menu of the Markerless Ar (10:22). and when i ran the application it only shows a white screen.
Hello! That is a super good tutorial for me, can you tell me , which unity ver. use ????
excellent tutorial!
i'm waiting also for the GPS tutorial :D
you may later make a tutorial on how to optimize the games/programs for the use of multicore?
now all smartphones have two or more CPU cores
Too many request about the GPS, i'm working on it should be out next week !
Hi, when I run the first time, the screen is only crossing. When I run your sample the second time, it runs well. What is problem?
Hello, can you please make a tutorial on how to make an augmented reality app on skin using Vuforia and Unity? Thank you, it would be a great help.
helpful tutorial for my project thank you.i guess i will need your help in future too :)
Can i somehow get current datetime from google cloud platform?
Thanks for this tutorial, but i have one question, i export to android is success, but iphone not work, the compass in iphone is not point to north, is ios setting problem? please give me a hand, thank you
Hey, do you know how to calculate GPS coordinates into Unity space? Like if I wanted to put object in specific GPS coordinate point, how should I do it?
Can made a Tutorial for a 2 Playerscript that use 2 X-Boxcontrollers?
hi, is it the same steps if we want to get access to laptop/desktop webcam and have 3D objects in the scene?
how can I make the same in mobile device without gyroscopes. I try using compass and accelerometer but don't work well. Can u help me thx
The best tutorials
Hello,
Were could I acquire the full script (copy/paste able)?
Thanks! (Great tutorial!)
Mr esp heroz, his question any bady have answer? because i had the same problem, pl help me code is nothing error
I have waited for this video yestarday! But it looks cool anyway :)
P.S. Maybe you try to make AR shooter? ;)
P.P.S I am really waiting for video about GPS
We could do GPS next indeed, i feel like i should of covered it years ago
Him: sorry about my typing
Me: ASMR heaven
this is awesome!!!
is it possible to load the 3d objects at specific location (lat/long...those values will be entered in json) and when i move my device and reached close enough to any location within json, it will then activate relative asset on the screen.
(can you explain how to do this, please ? I need this functionality (object appear in specific lat/log location
but I don't know how to do this-this is first time I used unity
Hi! I really need this functionality too, is there any video that teaches how to do that?
www.imgportal.net/imgresources/?p=307
I found this tutorial today but I didn't try it yet,, tell me if it help you
Sorry My english is not good, how to get gps location friends for showing on my AR apps, where i can get this tutorial ? sorry my english bad. thanks,
Comments are good! :) thanks!
can I build this with webcam, not android phone ? thanks
Definitely grateful for your tutorial.
Besides, I wonder if the Input.compass.magneticHeading equals to Input.gyro.attitude.y?
Thats a good question, i know that the magnetic Heading points towards North Pole, but since gyro.Attitude is a quaternion, i have trouble to say if they are equal
thanks dude, awesome tutorial..hey btw i need to switch between the front and back camera using boolean, how to achieve that?
Check his camera video, it explains in detail how the WebCamTexture object works
what if device have 2 primary camera and one secondary
Can we augment a 3d model at a specific gps location......?
could you find any solution
?
Can we detect ground to augment object ?
Hi there N3K,
This isn't working for me, had a go at it thrice. My compas starts at the middle of the screen and stays there, is if it wasn't a Worldspace canvas. Do you know what might cause this?
Thanks
same problem here. The compass just stay in the screen
I have 13 errors. can u plz provide the script of Markerless AR.
is anyone getting the same problem where their 3d models are upside down? :/
Thanks really helpful!
Absolute beginner here, so I'm sure it's me, but but I followed the tutorial exactly, except using notepad++ because mono wasn't working for me. Loading the script into the Camera didn't populate 'background' and 'fit' as modifiable (attributes?). Any chance you could tell me what I did wrong?
I prefer using Visual Studio which is much better than mono, and it shows errors/warnings. Notepad++ is good for some things, but not when you need to use smart debugging tools.
It would be possible to place an object at the actual height of the floor?, even lowering the cellphone, the object would stay at the real height of the floor?
you need something like Google Tango for that, normal phones have no way of scanning the physical space and making those calculations, Tango can.
How to place 3D model in the scene, please help :P
Just place it under 3D canvas
cool stuff, thanks
please make tutorial on AR Navigation
Helpful :)
you are awesome
without sdk? great
Project Download?
i run this on my android phone and it only show the compass, it does not use the camera and it does not rotate, what i did wrong?
and it does not ask permission to allow camera either
hello esp, post your code here: discordapp.com/invite/etX2zJB under #programming_help so we can help you. Thanks! ;3
i just sent the code on the website above
under the name newbie btw
actually i just checked there is nothing wrong with the code. its just that my phone does not support gyroscope.
great!
Salamat :D
What is your programming language?
Its in C#
Anyone successfully deployed this on an iOS 10+ device?
Face recognition pleaase