The Secret to Virtual Reality: Make VR Games Without the Headset

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 60

  • @KDogeCrafts
    @KDogeCrafts 2 роки тому +12

    This guy is too good. I would not have been able to get into Unity so easily without his videos

  • @Joooooooooooosh
    @Joooooooooooosh 2 роки тому +16

    Very true. Iteration times are way too slow. I usually only test in the headset once I've got a feature working correctly in play mode.

    • @JustinPBarnett
      @JustinPBarnett  2 роки тому +1

      Agreed! And a lot of the things you need to test don't even require a headset

    • @Joooooooooooosh
      @Joooooooooooosh 2 роки тому +2

      @@JustinPBarnett we should do a series on making VR *apps* as opposed to games. That's what I am thinking is going to make this tech go mainstream the same way smart phones did.

  • @tristonarmstrong4617
    @tristonarmstrong4617 2 роки тому +7

    @ 16:45 and just to add to the DRY note. You're always free to early return from functions (as he is with the tiny ifs inside the big if). So rather than nest all of that logic inside of an if statement with an itty bitty else at the end. Just invert the if, put the else logic in that if, and remove the else. Just from a readability and maintainability standpoint. IMO its much better to check what something ISNT and early return as apposed to checking what something IS and having unnecessary horizontal complexity.
    Just as a note, if anyone cares lol

  • @zima2352
    @zima2352 Рік тому

    changing alot is an understatement!! :D its moving fast ! so good for the Devs!

  • @smalrebelion
    @smalrebelion 2 роки тому +4

    Dude your videos are incredibly helpful. Well done. If you're ever strapped for content ideas you should consider doing a "code review" where you pick code written by a semi-noob and go through it explaining how you would do it better and why.

  • @mikaelthomas6377
    @mikaelthomas6377 2 роки тому +5

    So.... where did you get the controllers? And how do we find the script?

  • @michaorzechowski4948
    @michaorzechowski4948 2 роки тому +4

    What about something more advanced like hands/head simulation and debugging it without the headset?

    • @krismurray9887
      @krismurray9887 2 роки тому

      A video on this would be very helpful.

  • @thejaplong
    @thejaplong 2 роки тому +10

    ok, i'm stumped here; where do you get the Simple Camera Controller Script exactly ?

  • @OtakuDYT
    @OtakuDYT 2 роки тому +2

    Thanks for this, really wish it went a bit deeper tho on how to handle the interaction themselves, do you have to build two systems?

  • @emoprogramador8453
    @emoprogramador8453 Рік тому +3

    Im not finding SimpleCameraController script
    How i can get this script??
    (ive found one on unity asset store, but i guess that is not the same script as him)
    sorry for the bad english, im brazilian

  • @iercan1234
    @iercan1234 2 роки тому

    this seems like a must in multiplayer vr developement, you can't even open 2 instance of a vr game

  • @ktechid2379
    @ktechid2379 2 роки тому +3

    how to find file simple camera controller? i cant find it in my project file..

    • @dt295
      @dt295 2 роки тому

      Me too, where is it?

  • @firizz
    @firizz Рік тому +2

    How do I find the Simple Camera Controller Script? the package from the link in the description doesn't have that

  • @brandtsoftware7670
    @brandtsoftware7670 2 роки тому

    Great video! I'm a big fan of Jetbrains Rider

  • @Wolv21
    @Wolv21 2 роки тому +3

    Great video!
    Question, how would you make that a launch option? Upon clicking run (or running the exe after building) have a window pop up before the game even launches with a choice of Desktop or VR.

  • @amjadmohsin7
    @amjadmohsin7 2 роки тому

    hi, thanks for the video, can you make video on Varjo Vr-2 headset interacting with unity?

  • @supjay3945
    @supjay3945 7 місяців тому +2

    Was getting hyped until everyone in commented they couldnt find the script lol

    • @JustinPBarnett
      @JustinPBarnett  6 місяців тому

      Fixed it! Here's the link: value.vrcreators.io/test

  • @mathiolia5877
    @mathiolia5877 2 роки тому

    Can we set this up for multiplayer and track mouse position over the network pls help and guide me

  • @kpr2
    @kpr2 2 роки тому +4

    Love this information, but the tutorial only shows you how to replace the VR rig with a mostly useless floaty camera. Might it have been better to show how to replace VR interactions as well? Not much you can do to "test" your build with a pointlessly floating camera, eh?

    • @JustinPBarnett
      @JustinPBarnett  2 роки тому +1

      At that point you're just making a FPS or 3rd person game and there are plenty of other tutorials that teach this better than I

    • @ArielLothlorien
      @ArielLothlorien Рік тому

      Not if you want to mimic the right and left hand grab mechanics of VR. If your just making a normal first person game at that point then you are not testing your VR content at all

  • @davidlocospacehamster
    @davidlocospacehamster 2 роки тому

    Hmmm... I wonder. How this would work if you use your quest2 wireless with Virtual Desktop?
    Just curious, especially because I use it that way for VR, (my battery kinda dead nearly lol), so headed to flatscreen experimenting, but this would be very helpful although it will call steamVR first so. Hmm... Bit confused here

  • @sqwert654
    @sqwert654 2 роки тому

    Cannot believe how bad OC OpenXR is for UE with the Rift. The tracking is terrible seems to update very slowly , so waving a gun around looks like its stuttering at 90fps. In Unity The Rift works brilliantly with OpenXR

  • @PocketRiches
    @PocketRiches Рік тому

    How can I test without the headset, but still use the oculus controllers? So the only difference would be I’m looking at a flat screen but still using the controllers, rather than wearing the headset. The beginning of this video made it sound like this would be the end result. :/

  • @a_peach8159
    @a_peach8159 2 роки тому

    too handsome to be developer

  • @issasaleh7597
    @issasaleh7597 Рік тому +1

    Man u forgot n in environment'

  • @KADstudioArchitect
    @KADstudioArchitect 7 місяців тому

    I need in Unreal Engine

  • @claybomc
    @claybomc 2 роки тому

    in unity we trust

  • @irbazahsan8229
    @irbazahsan8229 2 роки тому +2

    👌

  • @Channal1009
    @Channal1009 Рік тому +1

    But with one

  • @kojimariku2825
    @kojimariku2825 2 роки тому

    Very efficient. Thank You

  • @gonzalolo
    @gonzalolo 2 роки тому +1

    Justin, you are covering the game view :(

    • @JustinPBarnett
      @JustinPBarnett  2 роки тому +1

      Nothing interesting was going on in there!

  • @noobtimespronoobtimespro1379
    @noobtimespronoobtimespro1379 2 роки тому +2

    First

  • @hanmayujiro1433
    @hanmayujiro1433 Рік тому

    eVironment

  • @JustinPBarnett
    @JustinPBarnett  2 роки тому +2

    Download the project here: value.vrcreators.io/test

  • @AndreiRunets
    @AndreiRunets 9 місяців тому

    123

  • @thomaswing620
    @thomaswing620 2 роки тому

    and sa tNice tutorialng other way around

  • @matreed237
    @matreed237 5 місяців тому +1

    I can't describe how bad this video is. This why trained teachers are so important they understand that you don't skip over instructions or speed through them. esp with this software. as it is constantly changing. there is no link to a video which is outdate and when you do find it it. slow down and don't assume everyone knows what you're talking about. If your goal is to educate that is.

  • @nickolas6060
    @nickolas6060 Рік тому

    What? Desktop character lol. That is plain stoopid

  • @Thomason1005
    @Thomason1005 2 роки тому

    you could shorten the script to:
    var xrLoader = XRGeneralSettings.Instance?.Manager?.activeLoader;
    if(xrLoader == null)...
    still helpful, though, thanks!

  • @0ne0fTh3m
    @0ne0fTh3m 2 роки тому

    xrOrigin.SetActive(XRLoader != null);