How to Virtual Reality App FPS Game for Beginners with Unity and GoogleVR

  Рет қаралды 80,825

MatthewHallberg

MatthewHallberg

Күн бұрын

Пікірлер: 249
@nell7860
@nell7860 7 жыл бұрын
Amigo gracias por tus videos, eres un gran apoyo y ejemplo para desarrolladores. saludos desde Bogotá
@TheWadester1124
@TheWadester1124 7 жыл бұрын
This may be a silly question I have a rift, if I enable vr mode in unity editor will this tutorial work for it. I think it should want to get into vr game creation now. *** Update: works with Oculus. Will now tweak this and add a score system, enemy death sounds, etc........... Doing a Cartoon Western Zombie Theme
@hashashin4087
@hashashin4087 5 жыл бұрын
Maybe you should do an update tutorial with different types of enemies, score system and sound etc
@abdulpresswala2351
@abdulpresswala2351 7 жыл бұрын
When testing the zombie, he shows just laying on the ground when i hit play. Script says it cant find NavMeshAgent
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+Abdul Presswala sounds like you missed the reference to the navmeshagent make sure there is one on your zombie prefab.
@abdulpresswala2351
@abdulpresswala2351 7 жыл бұрын
The navmeshagent is there on my zombie. The script just says it cant find it.
@fatjoetr7770
@fatjoetr7770 5 жыл бұрын
add "using UnityEngine.AI"
@theadityadeshpande
@theadityadeshpande 4 жыл бұрын
@@fatjoetr7770 Thanks that helped me !!
@mkiwan996
@mkiwan996 6 жыл бұрын
Please help, the animation of the zombie is playing once and then stops, how to make it loop
@andrejpetrushevski9880
@andrejpetrushevski9880 4 жыл бұрын
@Vibin MB Thank you so much man
@ForeverHopelessXD
@ForeverHopelessXD 7 жыл бұрын
Very insightful video about building a amateur-friendly Google VR game. Also appreciate greatly that you wrote comments on your code, to explain what each line did etc. Thanks very much for this tutorial! Hope to see more of your content in the future.
@anmolkp2710
@anmolkp2710 7 жыл бұрын
I am having a problem with fixing the alignment of the debug.ray ( the green line). Could someone please help me with that ?!
@OrDileE
@OrDileE 5 жыл бұрын
bro, when i want to shoot, apper that: ArgumentException:The object you want to instantiate is null
@walkwithwally
@walkwithwally 7 жыл бұрын
I really like that you explain the code. Can you go more in depth with the code one day? or recommend a good read. I'm new to c# with only a bit of javascript knowledge. I don't want to hurt my head though... you seem it make it easy. that's why I'm asking you.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Yeah for sure, I have one more tutorial that might be slightly complicated but the general concensus here is people need more help with basics in Unity, so not the next video, but the one after that will be all basics and I will probably stay on the basics trend for the next few after that as well.
@utkarsh1995ful
@utkarsh1995ful 7 жыл бұрын
hello I am using Unity 5.5.0f3 version and as soon as I import VR sdk package i have been prompted with error message: Assets/GoogleVR/Scripts/Video/GvrVideoPlayerTexture.cs(595,7): error CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration. any help on that please do reply.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Oddly enough I got an error like this the other day among others and it was because my script was not named correctly. Make sure it is the same as in the video and it's case sensitive.
@pauldanielmagdangal5052
@pauldanielmagdangal5052 7 жыл бұрын
bro? why not building a game combination of vr and ar?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Good call, I definitely will do something mixed reality soon.
@fadedlife2013
@fadedlife2013 7 жыл бұрын
For some reason certain walls and the ceiling keep clipping out of view in scene and game mode. I've played around with clipping plane in the main camera options... Nothing seems to be fixing it. Any ideas why?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
So I never had the problem with things necessarily going out of view, but the planes were flickering where they overlapped for me, I just had to reposition them a little. Hopefully that helps. Other than moving the clipping plane closer to zero I really don't know.
@mounaattie2519
@mounaattie2519 7 жыл бұрын
Hello , please i have a problem , I didn t have any problem in my consol but when I download the application on my android galaxy s7 and I click on it , it s crashed directly . I don't know how to resolve this problem , so can you please help me
@saiprudhviyasa2976
@saiprudhviyasa2976 7 жыл бұрын
it is showing that "unable to list the target platforms......"???? its stoping to create the apk file. please help me........ urgent. rest all the game is created well. but this problem stops my project. plz help me
@abinavnatarajan4321
@abinavnatarajan4321 3 жыл бұрын
how do i make my gun shoot? because i am having trouble making it shoot. adjusted the raycast, adjusted the gun and the main camera as well. any ideas?
@raheelahmed4520
@raheelahmed4520 4 жыл бұрын
I have the problem with raycast setting I can't change its direction can u help me out and the other things is that i can't shoot when i am aiming the head of the zombie after a delayed the gunfire but the zombie didn't fall back
@pachanzotto6597
@pachanzotto6597 3 жыл бұрын
hello i wanna ask you question, why the zombie doesn't walk at all :(( cz im pretty sure see this tutorial in seriously:((
@karaikudirealestate
@karaikudirealestate 7 жыл бұрын
The AnimationClip 'gun' used by the Animation component 'Handgun_Game_Blender Gamer Engine' must be marked as Legacy.(But i am unable to select legacy option in animation)if anyone know pls comment :(
@J0hnux
@J0hnux 7 жыл бұрын
I'm gonna use the code auto-fire in to making a Triggerbot hack in CS:GO. Thanks man.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Yeah no problem!
@kristong
@kristong 7 жыл бұрын
Hi Matthew, was following the tutorial, for the "auto shoot" method by using "Debug.DrawRay", it worked well in the unity simulator, I can keep shooting as long as I'm aiming at an enemy, but can fire only one shot, then no more auto shoot when I run the program on an actual device (sony xperia xz) with cardboard. Don't know why, Have u tried on an actual device and saw that issue?
@nevenahmed320
@nevenahmed320 Жыл бұрын
hello i'm traying to make the same game but in AR what should i choose for the walkable area so the zombie can chase the camera
@Cevyancs
@Cevyancs 4 жыл бұрын
hi i'm from indonesian. why when shooting, the zombies don't fall
@yasVFX
@yasVFX 7 жыл бұрын
The green line does not appear , I checked but nothing , pleas help : in the script i have this at line 53 :RaycastHit hit; //draw the ray for debuging purposes (will only show up in scene view) Debug.DrawRay(spawnPoint.transform.position, spawnPoint.transform.forward, Color.green); It seems correct : I checked in the Hierarchy and have : - Main camera - gun spawnPoint -GvrViewerMain - zombie - Scene - zombie (1) - zombie (2) - bullet With this I have always the same message :Object reference not set to an instance of an object
@soumyadipkundu1627
@soumyadipkundu1627 7 жыл бұрын
You just rocks buddy...thanks for making this tutorial..
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
anytime, thanks for the kind words!
@muhammadsaqib5197
@muhammadsaqib5197 3 жыл бұрын
bro any help about bluetooth controller, i'm facing issues in that.
@danielh.3098
@danielh.3098 3 жыл бұрын
Hello Matthew, i've seen how interesting the game is. But i got a question When the game is ready, and lets say that u not play it with autofire function but with tapping the phone screen to fire the gun, do you think we can do it by tapping our fingers at the screen?
@getknowledge3758
@getknowledge3758 7 жыл бұрын
Can we make a virtual showroom using augmented reality?
@biswasnilot
@biswasnilot 3 жыл бұрын
the animation is not playing. The navmesh is working fine
@shovonmajumder2372
@shovonmajumder2372 6 жыл бұрын
It works perfectly on unity....but when I build it on mobile device, the camera don't move and also vr mode is not shown.. although in gvrviewer, vrModeEnable is checked....can anyone help me plsssss.....
@simonefonta5030
@simonefonta5030 7 жыл бұрын
Why are the walls invisible on the other side?
@aliyarahmanajihati708
@aliyarahmanajihati708 6 жыл бұрын
hello, I'm trying to implement your tutorial to my project and because of different positions and the way I make my game (I use both guns and melee weapon), gun is put as a child of HandPosition GameObject, which is the child of the Main Camera, which is the child of Player. Player. So I can't just put Gun as a child to my MainCamera because in my game you need to retrieve it first, store it to the inventory, choose it from the inventory, then the gun will be equipped to my HandPosition. Here is the illustration: Player Main Camera GazePointerRing InventoryPosition HandPosition Gun So I put your PlayerScript in Player (I tried to put it in Main Camera but the Raycaster doesn't even appear). As a result, the raycaster came out of the MainCamera (since MainCamera is the Child(0) of Player?). I thought it won't make any differences and that I should still be able to shoot, but then I tried to start shooting (as shown in your tutorial, minute 27:00) but for some reason my bullet can't get shot (even though I also put my bullet prefab in Resources). Any advice, please? It'll be very much appreciated
@OscarTorresWork
@OscarTorresWork 7 жыл бұрын
Not sure if anyone pointed out but Unity is saying your texture hasn't been marked as a normal map , it's telling you to press the fix button nothing to major, thanks for the tutorial by the way always helpful.
@jebakumarbuckle8670
@jebakumarbuckle8670 7 жыл бұрын
Hey Matthew i did everything finr but my spawPoint is located at a different place the green line(spwanPoint) is created at a distance away from the sphere . It's been 2 months since this video got uploaded but i hope you will still answer me :)
@mrjavitot
@mrjavitot 6 жыл бұрын
Hello, my zombie does not walk all the way. He just gives a couple steps and then just flyes towards the camera. Any idea why this is happening? Thanks
@jops923
@jops923 6 жыл бұрын
Hello sir? All codes are there on your site? For guns zombie ?
@aizatmusa6746
@aizatmusa6746 7 жыл бұрын
after some problem with android build setup, finally I managed to build it and install on my phone. problem is gyroscope does not work. did i missed something? btw thank you for all the tutorials. your tutorials help me to prepare for my new job that requires me to learn VR and AR.
@fatalityeror2670
@fatalityeror2670 7 жыл бұрын
You showed the player harm please
@shreyasgirjapure3464
@shreyasgirjapure3464 7 жыл бұрын
sir i really like ur explains and all the things u do can u please teach how to move augmented objects (like moving the lapras by touching it and positioning it through our touch)
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Yeah I could probably work that in somewhere soon.
@shreyasgirjapure3464
@shreyasgirjapure3464 7 жыл бұрын
thank you so much !!!!!!!
@nimishasharath7199
@nimishasharath7199 7 жыл бұрын
I'm using a Mac with Unity 5.5.2 on it and when I start the game, it works fine, except the background is just a black screen. Any idea what's wrong? Thanks!
@matiascardenas2186
@matiascardenas2186 7 жыл бұрын
What I need to change in the script if I wanna use a button for shooting instead?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
It depends what kind of button but if you are talking a bluetooth controller check out NURFACEGAMES youtube channel he has a video on doing bluetooth controllers in Unity.
@rennster3152
@rennster3152 7 жыл бұрын
when I copy and paste code for zombie he is just walking in place...he is not even directing me HELP?
@superkat9669
@superkat9669 5 жыл бұрын
Guys there is a problem with the script it says "MonoBehaviour" could no be found. ARe u mssing unity engine.
@samfrankie916
@samfrankie916 7 жыл бұрын
I cant find GvrViewerMain in Google Vr sdk package.!
@h.jstudios-customminifigs-1569
@h.jstudios-customminifigs-1569 7 жыл бұрын
same
@kalebharris2389
@kalebharris2389 7 жыл бұрын
Same for me. Would love to make a game like this but can't figure out how to do it without the GrvViewerMain :(
@h.jstudios-customminifigs-1569
@h.jstudios-customminifigs-1569 7 жыл бұрын
same here
@alpha3763
@alpha3763 7 жыл бұрын
The Google VR SDK updated in May. Now add GVREditorEmulator to your scenes for the VR aspect. Also the game window doesn't show the stereo view anymore but it will be there when you build your game on the target device.
@samfrankie916
@samfrankie916 7 жыл бұрын
alpha3763 The zombie must follow the vrcamera. When I add the Gvreditoremulator it doesn't run towards me. So when I add a camera to gvremulator and removes the other it just dies as soon as I play the scene. Any help will be appreciated!
@hachemihadjallah2032
@hachemihadjallah2032 7 жыл бұрын
Hey bruh pls i have unity 5.1.1 and when i import the google VR a bug reporter what is the problm !! what should i do !!
@dripryan58
@dripryan58 7 жыл бұрын
hey man awesome vid was just wondering if you had a code for making the zombies spawn at random spots? i know after you kill one it's random but after that the zombie spawns at the same spot. any idea's? cheers! .
@yasVFX
@yasVFX 7 жыл бұрын
i have this message and the green ray does not appear ?! : Object reference not set to an instance of an object playerScript.Update () (at Assets/playerScript.cs:53)
@lavyajaitly6438
@lavyajaitly6438 7 жыл бұрын
hey ! my zombie is not moving towards camera . i am getting an error "Set Destination" can be only called on an active agent that has been placed on Nav mesh" please help
@tomasz3925
@tomasz3925 6 жыл бұрын
Why this gvr sdk dont work in my unity.. I do not even have cardboard view and when i use gvr editor emulator it reset my camera settings
@mdsazzadhossain4925
@mdsazzadhossain4925 7 жыл бұрын
Great Work MatthewHallberg ! I am very interstated that.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Thanks!
@vinnyallen
@vinnyallen 7 жыл бұрын
You should make a VR space shooter tutorial!
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
What a great idea lol!
@mkiwan996
@mkiwan996 6 жыл бұрын
when I imported the zombie, it has 2 kinds of animations, one ends with .anim, and the other ends with .FBX which one should I use? when I use FBX, it moves the legs for 2 seconds, and then slides towards the camera without moving the legs, please how to fix it
@TravelWithDhami
@TravelWithDhami 7 жыл бұрын
Great video with nice explanations , it would be nice if you could make a video on movement , of the fps player , and VR inputs as well , Thanks a lot for such a nice video.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Check out NURFACEGAMES youtube hes got a ton of VR stuff on movement and all that.
@yasVFX
@yasVFX 7 жыл бұрын
When i click on play , why i have this message : NullReferenceException: Object reference not set to an instance of an object playerScript.Update () (at Assets/playerScript.cs:53)
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Go to that line in the script and its probably searching for something that it can't find so make sure the name of the game object it's searching for matches exactly what its called in the hierarchy (it's also case sensitive).
@FickiMuhammad
@FickiMuhammad 5 жыл бұрын
matthew please help me, i've some problem about the reference of gameobjcet in playerscript
@KeishinB237
@KeishinB237 7 жыл бұрын
Hi, My Main Camera won't stay at the height I set it to. Instead it resets itself to Origin the moment the game starts. any suggestions?
@Nukilier
@Nukilier 7 жыл бұрын
not able to add N3r-v gun into the scene... :-(
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
What errors are you getting?
@Nukilier
@Nukilier 7 жыл бұрын
MatthewHallberg no error, i m not able to add the n3rv.blend file from project to scene view
@Nukilier
@Nukilier 7 жыл бұрын
Joseph Min no.. is that why i m getting that problem?
@Nukilier
@Nukilier 7 жыл бұрын
Joseph Min thanks
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
I am an idiot. I do have blender installed but I didn't know you needed it to be able to use blendswap stuff, I thought it was just supported by unity. That screws up my whole video lol.
@huongtac328
@huongtac328 5 жыл бұрын
I need help. I can not correct the blue ray (24:10), rotation x, y, z are unchanged.
@cassandraanderson2553
@cassandraanderson2553 7 жыл бұрын
Assets/sombieScript.cs(12,9): error CS1519: Unexpected symbol `void' in class, struct, or interface member declaration This is with the new update can you help please
@cassandraanderson2553
@cassandraanderson2553 7 жыл бұрын
Never mind the monoDevelop had a solution of right clicking and it solved it for me.
@frozen_gaming7510
@frozen_gaming7510 7 жыл бұрын
Well now I only get gvr error codes and all my names are correct gun won't fire ray cast does not shows
@rahman5541
@rahman5541 7 жыл бұрын
Hey Mathew, everything seems to working perfectly, except for my bullets don't really kill the zombies. They just keep walking. Any idea what the problem might be?
@abhayashokkumar4260
@abhayashokkumar4260 6 жыл бұрын
Same thing here!!
@thepibbxman
@thepibbxman 7 жыл бұрын
Thanks for the tutorial! But when i build to ios with virtual reality enabled i get an ios error but when I leave vr off the build suceed but no vr on the iphone.
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
are you setting landscape left in the unity player settings for IOS?
@thepibbxman
@thepibbxman 7 жыл бұрын
It says this setting is overridden by vr support. The xcode build error im getting is Apple Mach O linker
@JesseKaden
@JesseKaden 6 жыл бұрын
Hey, can you remake one of these but without vr function. Maybe like a mini zombie shooter on ios or like mac
@you2ube4millionaires4
@you2ube4millionaires4 7 жыл бұрын
no image when you download this gun. it only has 4 files in that zip 1st BLENDSWAP_LICENSE 2nd INFO 3rd n3rv.blend 4th Presentation of n3rv no actual gun model for the game :(
@joshuaimmanuel9407
@joshuaimmanuel9407 5 жыл бұрын
n3rv blend is the model
@nihaldemast
@nihaldemast 7 жыл бұрын
the zombie dosent move towards the main camera doing it in windows can you hekp me clear out the errors(it dosent show any except that the script cannot be loaded to zombie) please help immediately
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
What errors are you getting?
@bolteatrice0623
@bolteatrice0623 7 жыл бұрын
You need to add this script ' using UnityEngine.AI; '
@zdenkusko1985
@zdenkusko1985 6 жыл бұрын
make sure the name of the script in unity is the same as what's inside the script
@isaiahrichards9319
@isaiahrichards9319 6 жыл бұрын
I love you so much rn, simple fix haha
@cmsnyder1107
@cmsnyder1107 7 жыл бұрын
In case anyone else has this issue: I could NOT get the gun to fire at the zombies. They were named correctly; however, there is a setting under Edit > Project Settings > Physics that MUST be checked. It is "Queries Hit Triggers". If this isn't checked, then the raycast will ignore all trigger colliders -- the zombies in this case. Only took me an hour our so to debug this. :(
@cmsnyder1107
@cmsnyder1107 7 жыл бұрын
Oh, yes: but I loved the tutorial overall. Thank you! =)
@firdousnisar8700
@firdousnisar8700 7 жыл бұрын
it says " compiler error must be fixed before entering playmode" what does this mean?
@chasejordan262
@chasejordan262 7 жыл бұрын
The gvrviewermain does not work can somebody help me please
@DarK18711
@DarK18711 7 жыл бұрын
Hi there, Thank you for the video. Keep them coming :) My problem is with the zombie walks NullReferenceException: Object reference not set to an instance of an object zombieScript.Start () (at Assets/zombieScript.cs:15) (Windows)
@hangingwithhermes
@hangingwithhermes 7 жыл бұрын
I'm getting this exact same error. Mathew Hallberg, Halp!
@ThePixelitomedia
@ThePixelitomedia 7 жыл бұрын
Can you make it with steam VR too?
@fury2613
@fury2613 7 жыл бұрын
Nice video! Can you do a VR Unity Tutorial with an HTC Vive or Oculus Rift where we get an in-depth analysis of the VR API?
@mathewsiby8777
@mathewsiby8777 7 жыл бұрын
I am not able to align the spawn point........(green line) can you please help me??
@addy85547
@addy85547 3 жыл бұрын
love you broooo. made my final year project :) hope it works
@_wolf_gang_
@_wolf_gang_ 6 жыл бұрын
How do you make it so that there are rounds and as rounds increase more enemies spawn etc I hate coding lol
@wytsemonsma4304
@wytsemonsma4304 6 жыл бұрын
i dont know if u might still read this, first of all thank you great guide! i do have a couple problems though. I cant move the screen with my mouse in play mode and it also doesnt seem to show a "vr-view". also i copied the code but i dont seem to be able to shoot or anything
@wytsemonsma4304
@wytsemonsma4304 6 жыл бұрын
it gives me an error saying "The associated script can not be loaded. Please fix any compile errors and sassign a valid script
@RAMESHBABU-le2iv
@RAMESHBABU-le2iv 7 жыл бұрын
Hi I did not able to Look around the scene(viewing) with mouse controls. can u please tell me why it happens?
@RAMESHBABU-le2iv
@RAMESHBABU-le2iv 7 жыл бұрын
Hey I get the Solution for my issues. Hold the Alt & Ctrl keys to navigate the scene view(look around)..... .
@frozen_gaming7510
@frozen_gaming7510 7 жыл бұрын
I put the gun in the right spot but every time I view it the gun spawns above the main camera
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
First of all make sure you not in play mode when you are moving the gun, but as long as it is a child of your main camera it should just stay where it is.
@mitchellstephentelatnik142
@mitchellstephentelatnik142 7 жыл бұрын
You probably figured it out by now - but I was having the same problem and it has to do with you changing your gun location after your animation. Delete and redo the animation.
@omairkhan7730
@omairkhan7730 7 жыл бұрын
error: object reference not set to an instance of an object. Help!
@sids3194
@sids3194 6 жыл бұрын
same error!did u figure it out?
@anishpalvai7901
@anishpalvai7901 6 жыл бұрын
I know I'm late, but to solve this issue you need to tag the main camera as mainCamera
@fatmabenabdallah3002
@fatmabenabdallah3002 5 жыл бұрын
@@anishpalvai7901 thank you so much for solving this problem
@OscarTorresWork
@OscarTorresWork 7 жыл бұрын
Any way you can make a On Rails space shooter for VR?
@xanthoshunter8343
@xanthoshunter8343 7 жыл бұрын
how did you get main camera left and right? mine won't move
@victoriemini55
@victoriemini55 7 жыл бұрын
Hello! Great tutorial! How to show the split screen like that? When I hit play is just normal ratio. Thank you very much!
@VishalKumar-gj9ov
@VishalKumar-gj9ov 7 жыл бұрын
zombie script code is not running. please help
@yasVFX
@yasVFX 7 жыл бұрын
Why i have this message: Object reference not set to an instance of an object
@ramm80
@ramm80 6 жыл бұрын
Let's kill zombies. Very nice video!
@KhanBaba-kq5nx
@KhanBaba-kq5nx 6 жыл бұрын
HI, I am going to practice it...Wish me good luck
@belajarbarengimhas
@belajarbarengimhas 6 жыл бұрын
please make tutorial how to build 3d quiz game using vr, thanks
@kalebharris2389
@kalebharris2389 7 жыл бұрын
When I download the GoogleVr SDK Package it doesn't have GrvViewerMain
@shovonmajumder2372
@shovonmajumder2372 6 жыл бұрын
download version 1.40
@logos9869
@logos9869 7 жыл бұрын
Please Help Matthew! I have used my own gun from the asset store, but I used your bullets. Basically what I did was do a random zombie generator so that my game goes on forever. However, what happens is as soon as the game starts my red cube 'aimer' is aiming at the zombie and without a click of the button it shoots. Then it doesn't shoot a bullet ever even if I do click. Please help me!
@logos9869
@logos9869 7 жыл бұрын
Actually, it doesn't start on the zombie, but as soon as I hover over him it shoots and he dies.
@logos9869
@logos9869 7 жыл бұрын
but again, only on the first zombie that appears
@logos9869
@logos9869 7 жыл бұрын
ok... I made it kind of work but know it shoots automatically every 1 second only at a zombie... i dont even click it
@sanjeevx007JamesBond
@sanjeevx007JamesBond 7 жыл бұрын
Matthew, is it possible to integrate an Arduino 101 to send bluetooth information to apps created using Unity and Google VR?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Yeah, I used the "bluetooth for microcontrollers" plugin on the asset store to do some other projects with Arduino and Unity however, it only works for Android. There are some other plugins you could try if you want something cross platform but they are a little more money. I have also used C# sockets to send UDP packets from Android or IOS to Unity with a WIFI enabled Arduino board and that has worked really well it also doesn't cost any money for plugins.
@sanjeevx007JamesBond
@sanjeevx007JamesBond 7 жыл бұрын
Thanks Matthew! If I need anymore help or am unclear I'll come back XD
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Anytime. Good luck with the project. Integrating Arduino and Unity is one of my favorite things to do, have fun!
@sanjeevx007JamesBond
@sanjeevx007JamesBond 7 жыл бұрын
Hey Matt, most of the plugins aren't free. Maybe I'm not searching right. I've just discovered Ardunity tho. Is that the plugin you're talking about? Is it easy to use for ble connection to my Arduino 101? Any tutorials available?
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
yeah all the plugins for bluetooth at least are going to cost money, but if you just use basic sockets to send UDP packets from a wifi enabled Arduino to Unity that is free.
@SCfilmsofficial
@SCfilmsofficial 7 жыл бұрын
if you show us how to make a vr roller coaster would be awesome
@liwanadrian7377
@liwanadrian7377 7 жыл бұрын
Please create a tutorial to score, and the highest score? :(
@robertoperez6374
@robertoperez6374 7 жыл бұрын
Hi Matt i have a question; How can I do if i wanna walk pushing the button of the cardboard while shoot at the zombies at the same time, then stop walking if i stop pushing the button? (btw i'm mexican, so don't judge me if i wrote something wrong jaja and yeah you make great vids, i've done the most tutorials of virtual reality and augmented reality too) thank you Matt!
@andrewgillie5298
@andrewgillie5298 7 жыл бұрын
When I copy the code on to the script it wont compile and tells me that "type or namespace name 'NavMeshAgent' could not not be found". How do I fix it?
@bolteatrice0623
@bolteatrice0623 7 жыл бұрын
Same here. What should I do?
@dougmozingo2324
@dougmozingo2324 7 жыл бұрын
I had the same problem, type or namespace name `NavMeshAgent` could not be found. Are you missing `UnityEngine.AI using directive. Here`s what I did and it fixed the error. In the zombieScript on line 3 under System.Collections; Type in using UnityEngine.AI; then leave Line 4 blank (space) between line3 and 5. That should fix your problem, it did me.
@hashashin4087
@hashashin4087 5 жыл бұрын
@@dougmozingo2324 My zombie just plays the fall anim and then falls through the floor lol, someone help?
@ganeshyogesh831
@ganeshyogesh831 7 жыл бұрын
can u please make ar car game for us thank u
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
I actually almost did that when I did the user defined star wars one! I got you. I am busy with some side jobs now, but soon.
@ganeshyogesh831
@ganeshyogesh831 7 жыл бұрын
thank u
@superkat9669
@superkat9669 5 жыл бұрын
Also it shows me " using" is a keyword
@mushtaqkazi3073
@mushtaqkazi3073 6 жыл бұрын
Can you make the same game for augmented reality
7 жыл бұрын
Somehow, I my raycast does not appear.
@abhayashokkumar4260
@abhayashokkumar4260 6 жыл бұрын
bullet is hitting the zombie but it's still walking!!! What to do??
@shovonmajumder2372
@shovonmajumder2372 6 жыл бұрын
I am facing the same prob...did u fix it...
@noblify299
@noblify299 7 жыл бұрын
can you provide the saved folder for us??
@ganeshyogesh831
@ganeshyogesh831 7 жыл бұрын
why the gun is not shooting when it collides with zombie
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Make sure the spawn point is aimed correctly using the green line in the scene view.
@ganeshyogesh831
@ganeshyogesh831 7 жыл бұрын
spawn point is aimed correctly but its not working
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
Are you zombies in the scene all named the same as what name your searching for in the raycast? The name will be case sensitive too.
@ganeshyogesh831
@ganeshyogesh831 7 жыл бұрын
its correct,it worked!!!,Thank u for ur help
@frozen_gaming7510
@frozen_gaming7510 7 жыл бұрын
So I fix my game and got everything working correctly besides the zombies will not fall and die
@MatthewHallberg
@MatthewHallberg 7 жыл бұрын
+Frozen_Gaming are you getting any errors in the console?
@frozen_gaming7510
@frozen_gaming7510 7 жыл бұрын
no
I Made a Game in Unreal in 14 Days... (No Experience)
32:59
Jack Sather
Рет қаралды 1,4 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 4,8 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 44 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 5 МЛН
Shooting with Raycasts - Unity Tutorial
13:41
Brackeys
Рет қаралды 1,9 МЛН
How To Make A Game Alone
16:44
Thomas Brush
Рет қаралды 269 М.
Why Solo Developers Should Use Unreal
9:51
Thomas Brush
Рет қаралды 388 М.
6 Most Disturbing Trends in Gaming Happening Right Now
14:44
Outside Xtra
Рет қаралды 158 М.
My Boss made me Code an AI Assistant...
12:55
MatthewHallberg
Рет қаралды 41 М.
The Absolute Disaster Of Assassin's Creed Shadows
6:35
The Critical Gamer
Рет қаралды 447 М.
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 4,8 МЛН