No video

How To MARKERLESS Augmented Reality App Tutorial for Beginners with Unity 3D!!

  Рет қаралды 163,736

MatthewHallberg

MatthewHallberg

Күн бұрын

Пікірлер: 400
@FrankGonzalezIV
@FrankGonzalezIV 5 жыл бұрын
Can you update this for 2019?
@beckyzhou749
@beckyzhou749 7 жыл бұрын
Best Agumented Reality App Tutorial ever!
@ravimaru8284
@ravimaru8284 7 жыл бұрын
Love your honesty & humor, Mate. Thank you for your time & work i really appreciate it alot. God bless you
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+Ravi Maru thanks so much man! Means a lot.
@dheamiradikna6178
@dheamiradikna6178 4 жыл бұрын
can you re-send link? The link is broken, thanks
@PaulJosephHogan
@PaulJosephHogan 7 жыл бұрын
Great tutorial, will use it as a base to start playing with this markerless approach, thanks for sharing. Although one flaw is that as it does not know about the surroundings if you open the app in a room/area with obstacles the ships fly through them. Might see how this works with the Structure Sensor
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Yeah something like project Tango would work much better with this, can't wait till I can play with one.
@henryqng
@henryqng 7 жыл бұрын
Matthew, This is a very nice tutorial. You made it so easy to follow and fun. Thanks for creating this tutorial!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Anytime! Thanks for watching.
@jiripavlicek2043
@jiripavlicek2043 6 жыл бұрын
Well, it doesn't work. I can see the camera texture but there are no enemies around the camera. SOLVED - My phone doesn't have gyroscope. It works on phones with gyro
@KBtTech
@KBtTech 4 жыл бұрын
After 4 years. Here we are. Starting it.
@eugenelee8302
@eugenelee8302 6 жыл бұрын
Hey Mathew! thank you so much for this tutorial! i'm having some trouble and i'm hoping you can help me. I'm halfway thu the tutorial, xcode builds out just fine, with no errors (on an iphone 8 btw ) but i can't see the spaceship anywhere. When the app opens.. i get a request to use the camera but when the camera turns on there is no spaceship to be found. any idea what i am doing wrong or why the space ship is hidden?
@shahidahmed7734
@shahidahmed7734 4 жыл бұрын
Literally Love the Way You Explain Everything Step by Step .. :) Hatts Off Mate :)
@enriqueavina6827
@enriqueavina6827 7 жыл бұрын
Amazing! Followed your VR tutorials and now this AR tutorial. This new technology is very exciting. Video tutorials are the best way to learn imo. Thank you so much for these!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Anytime! Thanks for the kind words!
@prakharsaxena4460
@prakharsaxena4460 7 жыл бұрын
Need help. Only one spaceship is coming on the screen and after I shoot it down, no other spaceship is coming on the game screen . Kindly help with the solution
@abhijeetgarge4861
@abhijeetgarge4861 6 жыл бұрын
Great tutorial Matthew! Amazing explanation at every step. Very cool tone. Never gets boring! Thank you very much bro..
@MatthewHallberg
@MatthewHallberg 6 жыл бұрын
Anytime!!
@obinashchandrashil3761
@obinashchandrashil3761 5 жыл бұрын
@@MatthewHallberg from where i will download free mobile and flare assets plz tell me
@emraanpathan767
@emraanpathan767 5 жыл бұрын
camera movement in realworld not working in android device and i m using unity 2018.2
@TriLe86
@TriLe86 7 жыл бұрын
This tutorial is the absolute BEST! Thanks for sharing!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+Tri Le anytime! Thanks!
@humbervalleysharksAA2010
@humbervalleysharksAA2010 7 жыл бұрын
In the webCamScript how to scale the plane to the resolution of the device?
@obaodelana
@obaodelana 5 жыл бұрын
This is exactly what I was looking for. Thanks!
@lakon7890
@lakon7890 4 жыл бұрын
Hey Oba. How are you? Please lets hook up on social media. Hopefully you are in Lagos
@Rick-ng3lr
@Rick-ng3lr 7 жыл бұрын
Awesome tutorial Matthew! Thanks for taking the time for making this video and sharing your knowledge! Much appreciated.
@syedtahahabib4153
@syedtahahabib4153 7 жыл бұрын
Appreciated work Mathew, could you please make a video to make an object changes color by simply selecting colors from a drawer/sidebar of application, thanks
@char2681
@char2681 5 жыл бұрын
Hi Matthew - Great tutorial and I'm loving your videos so far they're really fun and great learning tools. Following this tutorial, I find that when I deploy to my Galaxy S8+, my surroundings come out great and I can see around me. Not the best picture but it works. My problem is that the ship / models don't show up on the phone? It does on my Mac, but not when I deploy to the phone. Everything else is working fine. Any fixes for this? I scanned the comments but no joy! :(
@thilakrajdevadiga8646
@thilakrajdevadiga8646 5 жыл бұрын
im trying the same but m not able see any camera view can u tell me what did u set for plain scale and rotations
@AncientWorld1
@AncientWorld1 7 жыл бұрын
thank you, this is a big tutorial to learn Unity and Augmented Reality app and without SDK, congratulation my freind i go to do it now
@lki246811
@lki246811 7 жыл бұрын
It's fantastic. Your idea is great I never seen before.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Thanks dood, I think we are friends on facebook.
@lki246811
@lki246811 7 жыл бұрын
OK friend . Search"Brave Stranger" picture is a funny dog with Christmas hat. It's me.
@herikaniugu
@herikaniugu 7 жыл бұрын
my android 6 phone supports Gyroscope, I wonder that this doesn't work. why? cuz no error report during building, the game opens well on my phone, but I can't move my camera with gyroscope. help please
@alijapatel9046
@alijapatel9046 4 жыл бұрын
The video is really fantastic. I got one query..everything is working fine except that when playing it on android phone I can see environment through device only if i tilt the camera down and at times side ways ..if I tilt the camera up then it shows complete black ......though Spaceships can be seen. Please help....(Struggling to fix it.)
@ashish3984
@ashish3984 7 жыл бұрын
Excellent video helped me alot Matthew just wanted to know can we do a virtual button in this just like vuforia
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Good question, I don't think we can easily. The project would need some time of image processing. I do plan to experiment with openCV here soon, so that might be the answer. Even so, we would probably not be able to do buttons without some type of image or marker.
@xternalcreations3032
@xternalcreations3032 5 жыл бұрын
I loved this video helped out alot!! I developing a cutting edge game on my own... I would really like to have more of your assistance.. Thankyou!!
@brandondavis4598
@brandondavis4598 7 жыл бұрын
You're a God. I hope to be able to so easily create an app like this some day.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Thanks man, really I suck though, theres so much to learn its insane.
@brandondavis4598
@brandondavis4598 7 жыл бұрын
MatthewHallberg Nah you're good. There's is so much to learn. My problem is that I try to learn too many things at once. I need to get past that somehow
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
dude...story of my life. I want to know everything, and I get jealous when people know something I don't, it's the worst. It leads my down a path of knowing only a little about a lot of different things which isn't very conducive to making money. It seems the people that make the most money are experts in a very specific field, so it's not looking too good for my financial future lol.
@brandondavis4598
@brandondavis4598 7 жыл бұрын
MatthewHallberg haha wow, I'm exactly the same way. there must be some value to being well rounded for us to work with though lol
@DearStephanieX
@DearStephanieX 7 жыл бұрын
MatthewHallberg There's nothing wrong with being a Renaissance man. I'm a true beginner in all of this, I like to dabble in a lot of things. And right now, this is what I want to learn---your videos are EVERYTHING. Thank you
@prashanthputta8664
@prashanthputta8664 7 жыл бұрын
Just nailed it MatthewHallberg, thanks a lot and please continue the great work. And a small doubt, can you please give more clarity regarding the plane co-ordinates that are to be used for Andriod, I have tried a few but my camera view is always inverted.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Thanks dude. I am not 100% sure because I don't have a good Android phone right now but you should just be able to rotate and flip that texture until it looks right when you build out. I don't know what coordinates for sure so you will probably just have to try a few different orientations.
@yohaantavadia4251
@yohaantavadia4251 7 жыл бұрын
x=90 y=180 z=0 this works good for me.!
@maherrhouma3478
@maherrhouma3478 6 жыл бұрын
Hey dude, the plane doesn't appear on my android phone, i only got the shadows. Any idea how to solve that ?
@lyndiss.2017
@lyndiss.2017 6 жыл бұрын
Thanks dude! Just what I was looking for!
@miteshbawankar2753
@miteshbawankar2753 5 жыл бұрын
Getting error NullReferenceException: Object reference not set to an instance of an object
@DarkHeliosGamesInteractive
@DarkHeliosGamesInteractive 4 жыл бұрын
How about using also the accelerometer in order to move around in 3D space relative to the real world?
@harshthakkar5213
@harshthakkar5213 7 жыл бұрын
Nice tutorial....for android flip case....transform your plane 90 by x and -180 by y...Thanks
@obinashchandrashil3761
@obinashchandrashil3761 5 жыл бұрын
i cant find particle system , how to shoot the ship and blast the ship ?
@sabansn6334
@sabansn6334 7 жыл бұрын
when i build Android then it not working properly and When I go to play on the phone (android), my camera is upside down and the enemy ships do not appear, only the shadow of them appears. In the computer the camera is on the head, but the ships appear. What can it be? Chat conversation end Type a message...
@cadenaTravel
@cadenaTravel 7 жыл бұрын
set scale to negative
@virajlakshithaofficial
@virajlakshithaofficial 3 жыл бұрын
Nice tutorial Matthew... but I have a problem. In my unity editor, when I run the program web cam is load in the panel.. but In my mobile phone it doesn't show the camera image, It's only black panel and model animation.. can you help me?.. thank you
@sranjitrao6940
@sranjitrao6940 6 жыл бұрын
I did all the things same as you did everything went so well but after blasting all the 4 spaceships new ones are not respawning
@sranjitrao6940
@sranjitrao6940 6 жыл бұрын
can you help me what would be the problem here??
@devadityasanyal8994
@devadityasanyal8994 4 жыл бұрын
@@sranjitrao6940 Were you able to fix the issue
@gameBoardDuo
@gameBoardDuo 5 жыл бұрын
@MatthewHallberg great video, may I suggest a video to show a arrow to indicate where the spaceships are when not on screen?
@VivekMishra161993
@VivekMishra161993 7 жыл бұрын
Move coroutine is giving error. "Iterator never returns". Also newer unity version doesn't have particle system as a package.
@aravr_project
@aravr_project 6 жыл бұрын
Awesome tutorial. It took a bit of playing around with the scale for the UI Canvas but it is useable.
@vinayvidhani1299
@vinayvidhani1299 7 жыл бұрын
why u have created cube, our ship is no longer inside that boundary......... Could u have me out for creating virtual scroll bar as u have one tutorial virtual button. And this tutorial is my favorite one really.. thanks for that... please keep upload such kind of videos.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Thanks, but if the ship is no longer inside the cube just drag it until it is. I am not sure a virtual scroll bar is possible as of right now, at least with Vuforia but I will keep it in mind!
@VishalDeka
@VishalDeka 6 жыл бұрын
Awesome! But for some reason its not working on my android phone. It works fine on unity but when played on my phone there is this grey screen all the time
@jonhgcan4398
@jonhgcan4398 6 жыл бұрын
check if your cellphone has gyroscope
@masoodsheikh1251
@masoodsheikh1251 4 жыл бұрын
transform your plane 90 by x and -180 by y
@anispy211
@anispy211 6 жыл бұрын
facing issue with android.. camera plane rotation becomes (0,0,0) when the scene is loaded
@yobozorle9518
@yobozorle9518 7 жыл бұрын
Awesome tutorial MatthewHallberg, thanks
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+yobo zorle anytime!!
@istiyakhossain538
@istiyakhossain538 7 жыл бұрын
Camera lost when all enemy gone and show unity default space. no camera preview shown after all enemy has gone.
@abhishekgautam3655
@abhishekgautam3655 7 жыл бұрын
Nice tutorial,but I'm facing quite a few problems with unity. After writing code for update in webCamScript and playing ,nothing is displayed on camera and on clicking on scene I see my plane turned back to 0 degrees and when i stop the playing ,it reverts back.Please help me out with this ...
@haikonieuwoudt6373
@haikonieuwoudt6373 7 жыл бұрын
These are insanely cool tutorials!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+Haiko Nieuwoudt thanks man!!
@nielisson1
@nielisson1 6 жыл бұрын
thanks a lot for this tutorial, but I cant seem to understand how to keep the plane in front of the camera. I am building it for android. Pls help
@rafiullahwaseem7209
@rafiullahwaseem7209 6 жыл бұрын
thanks for wonderful tutorials! Brother can u make tutorials on AR tool kit unity?
@muhammaduzairmumtaz9386
@muhammaduzairmumtaz9386 5 жыл бұрын
tutorial is outstanding but there is one issue. when bullet miss the spaceship it turn off the camera. kindly solve the problem. thankyou.
@chithmalaikarthikp2866
@chithmalaikarthikp2866 6 жыл бұрын
Now I got the object. Camera is also working properly. But the bullet is not colliding with the ship. Can you say why?
@pojhasdyuuki4365
@pojhasdyuuki4365 7 жыл бұрын
Hi thanks for the tutorial, I learned so much with this. I'm new to unity tho . can I ask if where should I put the script if I want to put a healthbar? should I insert it in the Main Camera?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Probably make a world space UI and put the script on there.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Sorry I was thinking VR, make a screen space canvas I mean. Actually there should already be a screen space canvas, because thats what the cockpit image is on.
@pojhasdyuuki4365
@pojhasdyuuki4365 7 жыл бұрын
I already did . hahahah im still having a problem tho , but i think i can handle it already , tho thanks =)
@solihinmuhammad103
@solihinmuhammad103 4 жыл бұрын
It's 2020 right now..but thx a lot Mattew for the great tutorial...
@Angel-by6pr
@Angel-by6pr 4 жыл бұрын
thanks i had to do a report about this 😅 and i have zero interest and knowledge in markerless ar. you made it easy maybe i will try it out 💃
@Stephen-np7gq
@Stephen-np7gq 6 жыл бұрын
Very cool tutorial! Thanks for this!
@serhaterfidan9669
@serhaterfidan9669 7 жыл бұрын
Hi Matt thanks for your amazing tutorial I like it but I have a question sound not working on my iphone 6 what can be reason for this I looked for this but found nothing thanks!
@sharoseali708
@sharoseali708 7 жыл бұрын
i cant understand how to import particle system package in the project i have unity 5.6.2 & there is no particle system package how i can do that thing ?
@austi1048
@austi1048 7 жыл бұрын
Hi !! Your videos are amazing and easy to understand. Thank you so much !!! :D However I have a question, would it be possible to move towards the object by getting the camera closer to it ? My camera works in the x and y - axis.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+Austino Davis yeah I actually stupidly moved the object in the code when I should have just moved the player lol. I should probably just redo this video, I probably will at some point soon.
@alibahremand8286
@alibahremand8286 7 жыл бұрын
Greatly appreciate you Matthew! You've helped me learn a lot and I can only wish the best for you and bow my hat to you for sharing your knowledge with others.
@mrinimit5757
@mrinimit5757 6 жыл бұрын
hi why my flying objs never shows in phone test but in my lap top shows :(
@MrHydeuh
@MrHydeuh 7 жыл бұрын
Thanks for your tutorial ! Im trying to put a 3d model using the sample Ar/VR, i would like to put a persistent model in world and the user could mouve around but i tried many setup everytime my model is stuck with the camera and stick to the the view when i move in the room
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
For a persistent model in the world you are going to need a fiducial marker for that. I would just use Vuforia for what you are trying to do. That way you can move around in the world and the 3d model will be stuck to wherever the marker is.
@varunmunagala840
@varunmunagala840 7 жыл бұрын
AMAZING!!!! BIG BIG FANN Keep up the amazing work!!!!!!!!!!!!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Thanks so much! Means a lot.
@sultanarshad126
@sultanarshad126 7 жыл бұрын
Nice work MatthewHallberg i have made app after watching your video thanks a lot solve much of my problem , but i have an issue when i play the game the object(airship) is showing behind my camera when i rotate 180 on y then the airship is shown., i want to make the ship at front of the camera no mater what the starting x ,y axis is kindly solve or help me out .thanks
@gather.in.coding.lounge
@gather.in.coding.lounge 2 жыл бұрын
I am getting an error, "The object you are instantiating is null"
@raoufmanunited8650
@raoufmanunited8650 7 жыл бұрын
The screen is black... TRACKER IS NOT RUNNING.... plz help
@raginimaurya4575
@raginimaurya4575 7 жыл бұрын
hi,i'm building shooting game and ur video is really nice and helped me lot..how can i get the image that is clicked as user defined target..i mean Getting the image used for a UserDefinedTarget ....i'm making AR game with vuforia package.
@zenitsu_04
@zenitsu_04 5 жыл бұрын
When i build it for devices without Gyro it doesn't work properly, So How to take camera rotation without using gyro??
@variancaesar4778
@variancaesar4778 7 жыл бұрын
Thanks for the tutorial, and I want to ask something.... I build this project on android, I've already change the -90 rotation into 90 but the result still upside down, can you help me fix this ?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
I never tried this on Android so I am not 100% sure on how to do it but it might be a combination of rotating the x and z to get the desired rotation but you will just have to play with it and see what works.
@variancaesar4778
@variancaesar4778 7 жыл бұрын
Ok thanks
@anshulbansal3431
@anshulbansal3431 4 жыл бұрын
hey, try to set the transform rotation of the plane on which the camera image is getting rendered to (-270,180,0)
@chadzulu4328
@chadzulu4328 7 жыл бұрын
Outstanding video, thanks bro!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Thanks man!
@All_About_Portfolio
@All_About_Portfolio 3 жыл бұрын
webcam works completely fine in my unity editor but whenever i build it for my android phone only black screens appear and a moving ship (of course) . Anyone any idea?
@chaochaisit
@chaochaisit 7 жыл бұрын
Thanks for great tutorial, even better than some course I paid online!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+Nabito great to hear!! Glad I could help.
@robbiesmith79
@robbiesmith79 6 жыл бұрын
I named my app Pew Pew! but the ships jump around a bit too much. They're not smooth. I wonder if this has something to do with the update function isn't in sync with the actual time.
@harshthakkar5213
@harshthakkar5213 7 жыл бұрын
Nice tutorial.....but gameobjects are not instatntiate automatically after all destroyed...any solution?
@bintanrahmawati6046
@bintanrahmawati6046 7 жыл бұрын
Hi, very good tutorial, well explained but I tried to do it and I got the expected results in Unity, however when I build & run in my android device, the space ship doesn't appear, any idea on what is going wrong?
@cheewaidavidwong7256
@cheewaidavidwong7256 5 жыл бұрын
hi Matthew Hallberg, you seem like know a lot in AR technology. Do you might I ask you do you know how to make AR headset? And how the AR headset works?
@alejandro76980
@alejandro76980 2 жыл бұрын
HI mAtt, sorry pal but I've tried to download the spaceship 3D model but I couldn't, help me please
@denbysmith2892
@denbysmith2892 7 жыл бұрын
Hey man! Greart Tutorial! Everything works fine! Cheers!
@garethconway970
@garethconway970 7 жыл бұрын
Great tutorial! I have been building this but after about 2 seconds the space ships start spinning uncontrollably in all directions. Any idea what may be causing this?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
hmm no idea...do you have the scale of the ship the same as the tutorial and did you copy and paste the exact same code or did you modify it?
@garethconway970
@garethconway970 7 жыл бұрын
I have fixed it by deleting duplicate space ships and redoing them. May be they were colliding. Great tutorial though, enjoyed it. Have you tried EasyAR? It's a free Augmented Reality SDK with a unity plugin. Lets you have an app without the Vuforia logo. Thanks again
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Awesome glad its working, never heard of EasyAR though I will definitely check it out!
@ceol1995
@ceol1995 6 жыл бұрын
Thank you for this video. It's so amazing for me.
@dangoboy07
@dangoboy07 7 жыл бұрын
Thanks for the tutorial I would like to know how you do so that more ships appear past the time.
@afiqzul-star8768
@afiqzul-star8768 3 жыл бұрын
You can search object spawning or enemy spawning
@AjaySharvesh
@AjaySharvesh 6 жыл бұрын
hey I can't able switch my camera in the plane. how can I do that? can you tell me that.
@azim1178
@azim1178 5 жыл бұрын
How i want to get the import packages of the particlesystem. On my unity version 2018 it doesn't pop up the selection list that include particle system.
@shaliqk
@shaliqk 7 жыл бұрын
Thanks a lot , Good work ! What if i need to do this for google cardboard , is there a way if i can set autotimer for the bullets as i wont have any button in VR ?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
So, I am not exactly sure how to do this for cardboard and make it look good. You could try two textures 1 for each eye and just play with the orientation until it looks good, or maybe try added the google vr package to the scene and basically do the setup twice, once for each camera. You wouldn't need the gyro code in that case because google vr will take care of that part. Also, you wouldn't want an autotimer but rather cast a ray from the center of the screen and if the raycast hits a ship thats when you would shoot.
@shaliqk
@shaliqk 7 жыл бұрын
MatthewHallberg Ill look into it , Thanks for the reply :)
@OscarTorresWork
@OscarTorresWork 7 жыл бұрын
dope tutorial man thanks
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
no prob!
@sabansn6334
@sabansn6334 7 жыл бұрын
when i build Android then it not working properly and When I go to play on the phone (android), my camera is upside down and the enemy ships do not appear, only the shadow of them appears. In the computer the camera is on the head, but the ships appear. What can it be?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
In the video I explain how to handle if the rotation of the webcam is different. You might have to invert the x scale or rotate it around so its upside down in the editor but right side up on the on the phone. Either way I am doing a new markerless tutorial that will be much easier to follow, and should work on any device. Should be out in a few days.
@maherrhouma3478
@maherrhouma3478 6 жыл бұрын
Same problem! only shadows appear on my android phone!!
@thattomato
@thattomato 7 жыл бұрын
Hi Matt, Thanks for the tutorial. I am encountering one issue tho.When I rotate my device/camera, the spacecraft or even a static object looks like orbiting itself. It looks like theres a relation with the camera probly? Or the gyro function are behaving weird? Thanks again for the tutorials.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
No problem, but yeah it doesn't work great. I went over doing this in type of markerless AR in Vuforia in my latest video so you could try to replicate this using those techniques. Might work a little better depending on the phone you are using.
@davidsantiago9396
@davidsantiago9396 7 жыл бұрын
Very good, thanks a lot for sharing!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Anytime, thanks for watching!
@dakshak279
@dakshak279 6 жыл бұрын
Hey! I've tried following the steps for Android, but I'm unable to get a proper image on Plane(as it is inverted for iOS). Also the spaceship when it moves, gets out of the viewing frame on the camera. Pls help me do it for Android...Thanks!
@samisyed899
@samisyed899 5 жыл бұрын
works fine but camera seems to be rotated a bit towards left initially and enemy planes seems to be kind of unstable (movement working find but with camera background it moves a bit here and there) any solution for that? even while rotating mobile, video projection seems a bit laggy
@matebarkoczi8690
@matebarkoczi8690 6 жыл бұрын
Hey! First of all thank you for the video, because it's easy to follow and well understandable! On the other hand I can't use my webcam (first step). Somehow I'm able to set it on, I don't see the anything in my monitor. I do the same like you, I copied the script from your website, I set the same position for the Main Camera and for the Plane. Unity says an error: NullReferenceException: Object reference set to an instance of an object. I don't really no, what does it mean. And suddenly you get a Plane after 3.29 minutes in the video and I don't really understand how and why? The AR Camera Assets work fine on my computer so I have the necessary drivers and stuff between Unity and the Webcam. (I have a Mac with OSX High Sierra and Unity 2017.3.0f3.) I hope, you can help me. Thanks in advance.
@NabilMajid
@NabilMajid 7 жыл бұрын
Its possible to add to the code a virtual gyroscope, for those android cellphone that does not have Gyroscope?
@rishabhanjagimutt4910
@rishabhanjagimutt4910 4 жыл бұрын
Does anyone know how to pick the front camera or back camera of a mobile phone?
@ElfriAntoEpi
@ElfriAntoEpi 7 жыл бұрын
I don't find any submenu about particle system in unity, where can I download this package ?
@wongwoonhim8180
@wongwoonhim8180 7 жыл бұрын
Thanks a lot. I can get this done on android galaxy phone. Just another question about AR, any idea to implement something like real world collision with the spaceship? And if I would like to track the real room size in order to generate corresponding size of spaceships, any tip to achieve this? Or it should be done on openCV? I didn't have much experience on tracking with phone. Will be appreciated if you can give me some advice.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Yeah I don't have much experience with it either, it could probably be done in some fashion with OpenCV but for better results you would probably need some kind of depth sensor like a project tango device.
@wongwoonhim8180
@wongwoonhim8180 7 жыл бұрын
MatthewHallberg Thanks for replying. Google Targo should be the ideal solution, unfortunately if it isn't available for few phones. Please keep publishing more AR tutorial, they r great!
@teyxingtuan4551
@teyxingtuan4551 7 жыл бұрын
Hi , can i get your code ? becuase seen like i build something wrong .... i building with android phone also
@teyxingtuan4551
@teyxingtuan4551 7 жыл бұрын
my application is work not what i am expected... there is some bugs inside so can you send me your project ?
@wongwoonhim8180
@wongwoonhim8180 7 жыл бұрын
Would you mind telling me which unity version you are using and giving me your email?
@joeylee1962
@joeylee1962 7 жыл бұрын
Awesome Tutorial, thanks
@amaranurfirliana8041
@amaranurfirliana8041 5 жыл бұрын
hey, can anyone tell me why when i clik the button, the bullet wont come out. And i tried to place the bullet infront of the spaceship to check was it work or not, well it wasn't. Why?
@viocesar24
@viocesar24 4 жыл бұрын
I want to make a game AR for my Thesis, but my mentor said that this is not Markerless AR cuz u cant take a look closer to ur object, can you tell me which book/article/journal that mention this type of game is Markerless AR ?
@taegyunkim9228
@taegyunkim9228 5 жыл бұрын
First thanks for great video!! It helped me a lot!! But when I push the button the bullets' y-axis increases instead going forward. Can someone plz help me out?? I tried many possible changes on codes and i figured out that in function OnButtonDown, except first line, all the others are not working. Plz help me
@user-ow9xd1ul4l
@user-ow9xd1ul4l 7 жыл бұрын
hi, Thanks for the tutorial, and I want to ask something.I pressed the button, but the bullet did not fire... why..?
@mamamia9268
@mamamia9268 6 жыл бұрын
pls help me. unity webcam is to slow. how to run it fast\
@sadiqhusaini5555
@sadiqhusaini5555 6 жыл бұрын
thanks for this, i face the issue with webcamTexture quality . any solution?
@abhijeetgarge4861
@abhijeetgarge4861 6 жыл бұрын
Quick question... how to zoom in the object in markerless AR? I want to be able to scale the objects with finger touch and also rotate the same.. Already tried 'lean touch' but getting build errors there (as it basically uses vuforia and AR camera which we are not using here)
@ritikaagarwal6546
@ritikaagarwal6546 7 жыл бұрын
Hi my web camera is not getting rendered after script getting added. I am using unity 5.5.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
any errors in particular?
@ritikaagarwal6546
@ritikaagarwal6546 7 жыл бұрын
spaceship is moving fine in unity but the webcam is not getting rendered i tried running it on android device, it is not producing an augmented effect
@0Raj1
@0Raj1 7 жыл бұрын
I am encounterin same issue. I see unity backdrop instead of real world. Earlier demo worked fine :(
Augmented Reality (AR) tutorial for beginners using Unity 2022
32:11
Playful Technology
Рет қаралды 296 М.
AR For Beginners (Unity Context)
6:42
MatthewHallberg
Рет қаралды 30 М.
When you discover a family secret
00:59
im_siowei
Рет қаралды 32 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 4,3 МЛН
Matching Picture Challenge with Alfredo Larin's family! 👍
00:37
BigSchool
Рет қаралды 52 МЛН
AUGMENTED REALITY Tutorial: Wikitude Markerless AR SLAM
7:37
MatthewHallberg
Рет қаралды 96 М.
Making an AR App in 12 Min
13:59
MatthewHallberg
Рет қаралды 75 М.
Coding INDOOR NAVIGATION with A* Pathfinding
10:24
MatthewHallberg
Рет қаралды 186 М.
Augmented Reality with Unity3D and Vuforia
34:24
Electronic and Time-Based Art Purdue University
Рет қаралды 209 М.
Getting Started With ARFoundation in Unity (ARKit, ARCore)
31:20
The Unity Workbench
Рет қаралды 459 М.
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 527 М.
Lets Make an Augmented Reality App in 6 MINUTES!!!! DONALD TRUMP EDITION
9:10
When you discover a family secret
00:59
im_siowei
Рет қаралды 32 МЛН