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

  Рет қаралды 165,150

MatthewHallberg

MatthewHallberg

Күн бұрын

Пікірлер: 398
@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.
@henryqng
@henryqng 8 жыл бұрын
Matthew, This is a very nice tutorial. You made it so easy to follow and fun. Thanks for creating this tutorial!
@MatthewHallberg
@MatthewHallberg 8 жыл бұрын
Anytime! Thanks for watching.
@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?
@kbttech
@kbttech 4 жыл бұрын
After 4 years. Here we are. Starting it.
@PaulJosephHogan
@PaulJosephHogan 8 жыл бұрын
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 8 жыл бұрын
Yeah something like project Tango would work much better with this, can't wait till I can play with one.
@shahidahmed7734
@shahidahmed7734 4 жыл бұрын
Literally Love the Way You Explain Everything Step by Step .. :) Hatts Off Mate :)
@ahmedbelabbas8282
@ahmedbelabbas8282 7 жыл бұрын
Hi, Sorry for my bad english but i dont understand what i need to change value for android on 5:15 ? Thanks
@masoodsheikh1251
@masoodsheikh1251 5 жыл бұрын
transform your plane 90 by x and -180 by y...Thank
@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
@humbervalleysharksAA2010
@humbervalleysharksAA2010 7 жыл бұрын
In the webCamScript how to scale the plane to the resolution of the device?
@lki246811
@lki246811 8 жыл бұрын
It's fantastic. Your idea is great I never seen before.
@MatthewHallberg
@MatthewHallberg 8 жыл бұрын
Thanks dood, I think we are friends on facebook.
@lki246811
@lki246811 8 жыл бұрын
OK friend . Search"Brave Stranger" picture is a funny dog with Christmas hat. It's me.
@dheamiradikna6178
@dheamiradikna6178 5 жыл бұрын
can you re-send link? The link is broken, thanks
@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
@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
@miteshbawankar2753
@miteshbawankar2753 6 жыл бұрын
Getting error NullReferenceException: Object reference not set to an instance of an object
@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
@ashish3984
@ashish3984 8 жыл бұрын
Excellent video helped me alot Matthew just wanted to know can we do a virtual button in this just like vuforia
@MatthewHallberg
@MatthewHallberg 8 жыл бұрын
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.
@GeospatialTechnologies
@GeospatialTechnologies 3 жыл бұрын
Hi, How can I open a website URL from an image marker using ARCore in Unity? I am trying to build an AR app using ARCore in Unity. I have ten images and ten url links to websites, I need to link the ten images with those ten url links. When I scan the image with the phone's camera, I want the URL to open directly. I've done image tracking with video before, but now I want to do image tracking linking to a URL. Do you know any tutorial to follow it? Thank you!
@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
@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)
@virajlakshithaofficial
@virajlakshithaofficial 4 жыл бұрын
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
@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.
@prashanthputta8664
@prashanthputta8664 8 жыл бұрын
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 8 жыл бұрын
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 7 жыл бұрын
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!
@ElfriAntoEpi
@ElfriAntoEpi 7 жыл бұрын
I don't find any submenu about particle system in unity, where can I download this package ?
@gameBoardDuo
@gameBoardDuo 6 жыл бұрын
@MatthewHallberg great video, may I suggest a video to show a arrow to indicate where the spaceships are when not on screen?
@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?
@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.
@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
@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 =)
@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 5 жыл бұрын
hey, try to set the transform rotation of the plane on which the camera image is getting rendered to (-270,180,0)
@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.)
@viocesar24
@viocesar24 5 жыл бұрын
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 ?
@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 ?
@yobozorle9518
@yobozorle9518 7 жыл бұрын
Awesome tutorial MatthewHallberg, thanks
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+yobo zorle anytime!!
@FreespaceMedia
@FreespaceMedia 5 жыл бұрын
Hello I have a problem, when I copy the enemy script in my script editor it showing some errors ?! , so can you help me with that
@Alas_Sombrias
@Alas_Sombrias 7 ай бұрын
does it still works with the current versions of unity?
@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
@NabilMajid
@NabilMajid 7 жыл бұрын
Its possible to add to the code a virtual gyroscope, for those android cellphone that does not have Gyroscope?
@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!!
@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?
@Rick-ng3lr
@Rick-ng3lr 7 жыл бұрын
Awesome tutorial Matthew! Thanks for taking the time for making this video and sharing your knowledge! Much appreciated.
@emraanpathan767
@emraanpathan767 5 жыл бұрын
camera movement in realworld not working in android device and i m using unity 2018.2
@AjaySharvesh
@AjaySharvesh 6 жыл бұрын
hey I can't able switch my camera in the plane. how can I do that? can you tell me that.
@garethconway970
@garethconway970 8 жыл бұрын
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 8 жыл бұрын
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 8 жыл бұрын
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 8 жыл бұрын
Awesome glad its working, never heard of EasyAR though I will definitely check it out!
@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!
@enriqueavina6827
@enriqueavina6827 8 жыл бұрын
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 8 жыл бұрын
Anytime! Thanks for the kind words!
@samisyed899
@samisyed899 6 жыл бұрын
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
@ivanlorenzo4376
@ivanlorenzo4376 7 жыл бұрын
Hi thanks for the tutorial i tried doing this and i works fine but when i add a menu scene that switches back and forth the plane does not play the webCamTexture. Any advice?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
I ran into this problem before and I totally forget what the fix was. I think you have to call play() on the webcam texture again but I am not entirely sure.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
wait maybe do a DontDestroyOnLoad with the webcamtexture. I think that was it.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
That way it should keep the instance alive through various scenes. I think you need to have some type of check though so you don't create a new instance if there already is one or that might turn it off again.
@ivanlorenzo4376
@ivanlorenzo4376 7 жыл бұрын
i tried attaching the CamScript to a Empty GameObject and added the DontDestroyOnLoad still no luck
@DarkHeliosGamesInteractive
@DarkHeliosGamesInteractive 4 жыл бұрын
How about using also the accelerometer in order to move around in 3D space relative to the real world?
@haikonieuwoudt6373
@haikonieuwoudt6373 7 жыл бұрын
These are insanely cool tutorials!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+Haiko Nieuwoudt thanks man!!
@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?
@xmarttec900
@xmarttec900 7 жыл бұрын
+MatthewHallberg link in the description isn't working please update it. Thanks!
@NabilMajid
@NabilMajid 7 жыл бұрын
if i rotate or load the app in a diverent size screen mobile, the plane with camera image will resize? for IOs and android
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Not for this example, you could put your own checks in, or the best bet is to buy a camera plugin on the app store to take care of the camera stream for all types of devices.
@johndarwinmateo796
@johndarwinmateo796 7 жыл бұрын
i have some errors like "Cannot implicity convert type Unity.Engine.Vector3 to UnityEngine.Quaternion" and "Cannot implicity convert type string to Unity.Engine.Vector3" how will I fix that sir? it is in the part of void OnButtonDown()
@shaliqk
@shaliqk 8 жыл бұрын
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 8 жыл бұрын
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 8 жыл бұрын
MatthewHallberg Ill look into it , Thanks for the reply :)
@cheewaidavidwong7256
@cheewaidavidwong7256 6 жыл бұрын
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?
@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
@joejones9599
@joejones9599 7 жыл бұрын
Can anyone help me, this line of code in the webcam script is giving me problems: this.transform.parent = cameraParent.transform; if I delete the code then the ships move about on my phone, but then i don't get the correct camera rotation. If i keep the code then the ships don't appear. ANy suggestions, I am using Adroid thanks
@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 ...
@cheribgh275
@cheribgh275 7 жыл бұрын
hey, can we have stereoscopic view in this method?
@VivekMishra161993
@VivekMishra161993 7 жыл бұрын
Move coroutine is giving error. "Iterator never returns". Also newer unity version doesn't have particle system as a package.
@narthanasathsara7192
@narthanasathsara7192 7 жыл бұрын
is unity Asset Bundle is available for unity free version?
@jairanpo
@jairanpo 8 жыл бұрын
I put my 3d object directly in front of my camera, but when I build it on the device (Ipad), it aways appear at a 90 degrees offset so i have to turn to the right all the time to see the character. Any Ideas why is this happening?
@MatthewHallberg
@MatthewHallberg 8 жыл бұрын
Hmm, I don't know that I ever had that happen. You could use that statement where it checks if you are on a mobile device to move it back in front of the camera maybe. It might be doing the same thing that the whole plane is doing in the video.
@jairanpo
@jairanpo 8 жыл бұрын
Thanks Matthew, I will try that, if I found something weird happen on ipad I let you know so in case someone else found this problem too; Keep up with the great job, I really appreciated, I just found you and I will share your stuff if that helps somehow, really worth it.
@MatthewHallberg
@MatthewHallberg 8 жыл бұрын
Yeah thanks! And yeah please let me know because I was only able to test this on iPhone, so that would be a big help.
@harshthakkar5213
@harshthakkar5213 7 жыл бұрын
Nice tutorial.....but gameobjects are not instatntiate automatically after all destroyed...any solution?
@terminatorpg1067
@terminatorpg1067 7 жыл бұрын
id like to have more of this tut : starting from scratch. In the end you were going so fast i had to pause the video a lot of times but really nice vid man
@sadiqhusaini5555
@sadiqhusaini5555 6 жыл бұрын
thanks for this, i face the issue with webcamTexture quality . any solution?
@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.
@jops923
@jops923 6 жыл бұрын
@matthewhallberg how can i do that i can move not only rotation? Can you help me ? For my thesis i am developing ar fps game . I want to move like other fps game . Thanks . I need your help . . ill try to use arcore and arkit but still not work . Because my device os is 5.2 version only . I need your help . :-)
@alejandro76980
@alejandro76980 2 жыл бұрын
HI mAtt, sorry pal but I've tried to download the spaceship 3D model but I couldn't, help me please
@chithmalaikarthikp2866
@chithmalaikarthikp2866 6 жыл бұрын
will it not work on android? I tried upto the enemy ship placing in AR. After building to android, the camera is not rotating. it is stable. I can't see the ship. Can you help me?
@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
@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 7 жыл бұрын
Same problem! only shadows appear on my android phone!!
@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??
@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.
@AlexFikry
@AlexFikry 7 жыл бұрын
where i get the particle system package ?
@남죠리
@남죠리 7 жыл бұрын
hi, Thanks for the tutorial, and I want to ask something.I pressed the button, but the bullet did not fire... why..?
@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?
@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
@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 5 жыл бұрын
transform your plane 90 by x and -180 by y
@nielisson1
@nielisson1 7 жыл бұрын
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
@MrHydeuh
@MrHydeuh 8 жыл бұрын
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 8 жыл бұрын
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.
@JYFilm-gf8yb
@JYFilm-gf8yb 5 жыл бұрын
So I added your bullet code and it fires side ways?
@rizkamilandgamilenio9806
@rizkamilandgamilenio9806 5 жыл бұрын
Please, where i can get the particle system
@ritikaagarwal6546
@ritikaagarwal6546 8 жыл бұрын
Hi my web camera is not getting rendered after script getting added. I am using unity 5.5.
@MatthewHallberg
@MatthewHallberg 8 жыл бұрын
any errors in particular?
@ritikaagarwal6546
@ritikaagarwal6546 8 жыл бұрын
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 :(
@rishabhanjagimutt4910
@rishabhanjagimutt4910 4 жыл бұрын
Does anyone know how to pick the front camera or back camera of a mobile phone?
@redhot0006
@redhot0006 7 жыл бұрын
hi, how do I build it out and run it on an iOS device? do i need to buy an apple developer license? i'm hoping to do it for free if possible !!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Yeah you can do it for free, just sign up for a free apple dev license, you won't be able to publish to the store but you can at least put it on your phone.
@elenabuzamat1701
@elenabuzamat1701 6 жыл бұрын
@@MatthewHallberg What do I need to make it work on my android phone? I'm pretty new to this and I did everything on my laptop. Do I need to use Android Studio?
@rafiullahwaseem7209
@rafiullahwaseem7209 7 жыл бұрын
thanks for wonderful tutorials! Brother can u make tutorials on AR tool kit unity?
@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.
@sadpandatv5769
@sadpandatv5769 6 жыл бұрын
there is an error saying NullReferenceException: Object reference not set to an instance of an object webCamScript.OnButtonDown () (at Assets/webCamScript.cs:36) how to fix this?
@sadpandatv5769
@sadpandatv5769 6 жыл бұрын
The bullet not firing proper. Is going side not in front
@annajanusz498
@annajanusz498 6 жыл бұрын
I have the same issue :(
@annajanusz498
@annajanusz498 6 жыл бұрын
@@sadpandatv5769 you handled?
@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.
@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
@MrHellouthr
@MrHellouthr 7 жыл бұрын
Hey nice tutorial.... I have a Question... What if i add a text (which counts successful kills) in collision script , then how to access that text from script. I mean how to refer it just from the script as we have not attached the collisionscript to any component hence we can not do drag and drop just like we did for firebutton. And if i drag text component into resources and then try to drag text component to collision script in inspector of bullet then null pointer exception is generated
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
you could just change the text from collision script. You could create a public GameObject and call it text object. Drag in whatever gameobject has the text component into that slot and then do something like textObject.GetComponent().text = killCount
@MrHellouthr
@MrHellouthr 7 жыл бұрын
From where can i get the killcount? as of now what i have done is i have added this line in the webcamScript in the update function (this gives me the correct kill count but i dont want to do it like this as it will be call so many times and not only when a kill happens) count1 = 5 - GameObject.FindGameObjectsWithTag ("Player").Length; kill.text ="Kills: "+ count1.ToString (); here i have used 5 planes hence 5 in the code. Can i have your email id please? I am kind of new to unity and dont have anyone to ask Questions thank you
@benman6078
@benman6078 7 жыл бұрын
can you help me with "Cannot use web cam, since the user has not authorized this!"UnityEngine.WebCamTexture:Play() webcam:Start() (at Assets/webcam.cs:13)"
@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!
@anispy211
@anispy211 7 жыл бұрын
facing issue with android.. camera plane rotation becomes (0,0,0) when the scene is loaded
@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
@solihinmuhammad103
@solihinmuhammad103 4 жыл бұрын
It's 2020 right now..but thx a lot Mattew for the great tutorial...
@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.
@mrinimit5757
@mrinimit5757 7 жыл бұрын
hi why my flying objs never shows in phone test but in my lap top shows :(
Making an AR App in 12 Min
13:59
MatthewHallberg
Рет қаралды 75 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 58 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
How to create an Augmented Reality App
24:19
Playful Technology
Рет қаралды 1,4 МЛН
Augmented Reality with Unity3D and Vuforia
34:24
Electronic and Time-Based Art Purdue University
Рет қаралды 210 М.
Getting Started With ARFoundation in Unity (ARKit, ARCore)
31:20
The Unity Workbench
Рет қаралды 462 М.
AR For Beginners (Unity Context)
6:42
MatthewHallberg
Рет қаралды 30 М.
Unity - Get Texture From Mixamo
6:57
Online Code Coaching
Рет қаралды 23 М.
Augmented Reality Tutorial | Gaze Interaction in Unity
17:18
Third Aurora
Рет қаралды 64 М.
Get Started with AR in Unity in 6 minutes!
6:59
ProfitGoat
Рет қаралды 133 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41