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

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 60

  • @KDogeCrafts
    @KDogeCrafts 2 ปีที่แล้ว +13

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

  • @Joooooooooooosh
    @Joooooooooooosh 2 ปีที่แล้ว +17

    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.

  • @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.

  • @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

  • @mikaelthomas6377
    @mikaelthomas6377 2 ปีที่แล้ว +5

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

  • @zima2352
    @zima2352 2 ปีที่แล้ว

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

  • @thejaplong
    @thejaplong 2 ปีที่แล้ว +10

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

  • @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.

  • @iercan1234
    @iercan1234 2 ปีที่แล้ว

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

  • @firizz
    @firizz 2 ปีที่แล้ว +2

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

  • @emoprogramador8453
    @emoprogramador8453 2 ปีที่แล้ว +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

  • @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?

  • @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.

  • @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?

  • @brandtsoftware7670
    @brandtsoftware7670 2 ปีที่แล้ว

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

  • @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 2 ปีที่แล้ว

      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

  • @amjadmohsin7
    @amjadmohsin7 2 ปีที่แล้ว

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

  • @mathiolia5877
    @mathiolia5877 2 ปีที่แล้ว

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

  • @supjay3945
    @supjay3945 9 หลายเดือนก่อน +2

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

    • @JustinPBarnett
      @JustinPBarnett  8 หลายเดือนก่อน

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

  • @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. :/

  • @kojimariku2825
    @kojimariku2825 2 ปีที่แล้ว

    Very efficient. Thank You

  • @KADstudioArchitect
    @KADstudioArchitect 9 หลายเดือนก่อน

    I need in Unreal Engine

  • @a_peach8159
    @a_peach8159 2 ปีที่แล้ว

    too handsome to be developer

  • @Channal1008
    @Channal1008 ปีที่แล้ว +1

    But with one

  • @issasaleh7597
    @issasaleh7597 ปีที่แล้ว +1

    Man u forgot n in environment'

  • @claybomc
    @claybomc 2 ปีที่แล้ว

    in unity we trust

  • @irbazahsan8229
    @irbazahsan8229 2 ปีที่แล้ว +2

    👌

  • @gonzalolo
    @gonzalolo 2 ปีที่แล้ว +1

    Justin, you are covering the game view :(

    • @JustinPBarnett
      @JustinPBarnett  2 ปีที่แล้ว +1

      Nothing interesting was going on in there!

  • @hanmayujiro1433
    @hanmayujiro1433 2 ปีที่แล้ว

    eVironment

  • @JustinPBarnett
    @JustinPBarnett  2 ปีที่แล้ว +2

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

  • @matreed237
    @matreed237 7 หลายเดือนก่อน +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.

  • @AndreiRunets
    @AndreiRunets 11 หลายเดือนก่อน

    123

  • @thomaswing620
    @thomaswing620 2 ปีที่แล้ว

    and sa tNice tutorialng other way around

  • @noobtimespronoobtimespro1379
    @noobtimespronoobtimespro1379 2 ปีที่แล้ว +2

    First

  • @nickolas6060
    @nickolas6060 2 ปีที่แล้ว

    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);