STEAM VR - The Ultimate VR developer guide - PART 1

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 534

  • @dogtato
    @dogtato 2 года назад +1

    Thanks! this holds up surprising well 3 years later, just one thing has changed at the very end with collisions that other commenters left the answer to

    • @ValemVR
      @ValemVR  2 года назад

      Thank you so much you're the first one to have donated through super thanks on this channel

  • @GamerReality
    @GamerReality 5 лет назад +176

    You are literally the king of Unity VR tutorials, and I’m very grateful.

    • @vrforseniors9830
      @vrforseniors9830 2 года назад

      We spent $10,000 on VR. Vive Headset, Valve Controllers. IT DOES NOT WORK!! IT IS A SCAM!!!!

    • @JustFabian02
      @JustFabian02 2 года назад

      @@vrforseniors9830 cuz vive has it s own integration in unity, dumbasses.

    • @ophelia6044
      @ophelia6044 2 года назад +1

      @@vrforseniors9830 Lol, you have no clue what you're talking about, I even doubt that you have the amount of money mentioned above...

  • @samirvanrijn3304
    @samirvanrijn3304 3 года назад +4

    For my thesis I'm doing research about the use of VR as a learning environment and therefore have to build a game myself. Valem you've been so helpful, it's insane!

    • @vrforseniors9830
      @vrforseniors9830 2 года назад

      BULSHIT!! THE CHEAP PLATIC CRAP FROM VALVE SUCKS! AND VALVE HATES CUSTOMERS!!!!!

  • @niveks_
    @niveks_ 5 лет назад +34

    If people were, like me, confused that putting Player object and all children in the Player layer and disabling collision with itself didn't work, it's because in the latest versions of the SteamVR plugins, in the HandCollider prefabs, the collide spheres of the hands are on a layer called "PostProcessing".
    Disable collision of the "Player" layer with "PostProcessing" layer, and you should be good.

    • @ZaneyOG
      @ZaneyOG 5 лет назад +1

      Thank you so much! Was wracking my brain about what was the cause, thanks for saving me a lot of time!!!!

    • @mikeelina1733
      @mikeelina1733 5 лет назад +1

      i dont understand can you help please

    • @ZaneyOG
      @ZaneyOG 5 лет назад +1

      @@mikeelina1733 In the newer version you need to make the player layer and post processing layer not interact in project settings.

    • @mikeelina1733
      @mikeelina1733 5 лет назад

      Zaney thank you

    • @ZaneyOG
      @ZaneyOG 5 лет назад

      @@mikeelina1733 No problem ;D

  • @fishum6483
    @fishum6483 5 лет назад +8

    I cannot express how much I appreciate this tutorial, other people would just say "this is how to implement sliding locomotion, while you go through the simplest form of movement, pointing out the problems with it and how to attack those problems. Truly fantastic.

  • @SamChaneyProductions
    @SamChaneyProductions 5 лет назад +6

    These tutorials have been such an incredible resource for me beginning my journey or VR development. Also I'd like to add that the way you added gravity seems like it would make the player fall at a constant rate rather than accelerate.

  • @AzziProto
    @AzziProto 5 лет назад +14

    I just started trying to develop a VR game, so this is really helpful! Thanks man!

    • @user-rf4vc7mt4d
      @user-rf4vc7mt4d 4 года назад +1

      how much did you learn in 4 months?

    • @smurfolissicus
      @smurfolissicus 4 года назад +1

      He quit and went back to playing video games

    • @bbleghhhh
      @bbleghhhh 4 года назад

      Hm.... is it done yet? Or is it in steam I might try the game out!

  • @MetalStormGames
    @MetalStormGames 5 лет назад +2

    This video is amazing and exactly what I needed. You should seriously make a VR course that goes in to more detail with all the basics. People really need this info as it has been very hard to find until now.

    • @vrforseniors9830
      @vrforseniors9830 2 года назад

      BULSHIT!! THE CHEAP PLATIC CRAP FROM VALVE SUCKS! AND VALVE HATES CUSTOMERS!!!!!

  • @soareverix
    @soareverix 5 лет назад +4

    This is so cool! I'm super hyped to see what everyone else is making in 2020 :D

  • @dalttroxplays4991
    @dalttroxplays4991 3 года назад

    I plan to make a portal esque game in vr and I haven't been able to hardly get started, but this tutorial is showing me everything I need to know! I'm so grateful and I hope the series continues to help me on my journey to release my first game B3

  • @c.g.1896
    @c.g.1896 5 лет назад +3

    You're so helpful ! Thanks so much for your time and energy. It's always a pleasure to learn from you. Keep going on dude, you're the best.

  • @lxtech9947
    @lxtech9947 5 лет назад

    This video is the best video i found on teleportation using STEAM VR -- Great Job!

  • @Gasparmr6
    @Gasparmr6 2 года назад +2

    At 3:40 you say that OpenVR must be on top of the Oculus. In your Unity version you can change the order of them but in mine I cant. My unity version is 2021.2.14f1 and I have to use this version. Anyone knows how to change the order in this version?? Or any alternative??
    Thank you very much

  • @sodwa1514
    @sodwa1514 4 года назад +2

    These tutorials are exactly what I was looking for. Thank you so much!

  • @quantumsoftware1424
    @quantumsoftware1424 4 года назад

    I have been waiting for this kind of content for so long. Your contribution of knowledge is very profound. I am grateful. Thank you.

  • @lukeames7288
    @lukeames7288 5 лет назад +3

    You make some of the best Unity VR tutorials I've seen on RUclips. Keep up the good work!

  • @thoughtsthroughsound
    @thoughtsthroughsound 4 года назад

    I downloaded unity and am working through their basic tutorials thanks to you!!! I have some ideas that I can't wait to bring to VR. Thank you for being so clear in your explanations, it's extremely motivating!

  • @emile04
    @emile04 3 года назад

    Très bonne vidéo et très bon anglais! Je viens juste de commencer le développement VR et je regarde seulement t'es tuto depuis. Génial!

  • @davestone8766
    @davestone8766 5 лет назад +1

    better than the two courses i bought on udemy ,really appreciate it!

  • @profredkey
    @profredkey 3 года назад

    Je suis un développeur sur unity et je sais parler Français comme vous Valem, continuez les vidéos, elles sont intéressantes. :)

  • @RATE.LIMITED
    @RATE.LIMITED 3 года назад +1

    Amazing tutorial! Thank you so much!

  • @piotryendel5444
    @piotryendel5444 4 года назад

    If you experience shaky hands while moving using joystick and you know your hands are not colliding with body collider and in your joystick controller you call Move function in FixedUpdate() then this is what helped me:
    Go to Project Settings -> Time -> Fixed Timestep (default value in my case was 0.02 which is equal to 50Hz (1/0.2) ) change it to something like 0.011 (90Hz) this makes that FixedUpdate is called 90 times a second so it matches the refresh rate of your display and update of hands is smoother/shakiness is removed.

  • @leaves_reality
    @leaves_reality 4 года назад +14

    Hey There Gamers, if you're having problems with your character collider not being where the actual player is , I made a little script y'all can use, just put it on the player object.
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    public class MOVE2PLAYER : MonoBehaviour
    {
    public Transform playercent; // use the VR camera here
    public CharacterController charc;
    // Start is called before the first frame update
    // Update is called once per frame
    void Update()
    {
    charc.center = new Vector3(playercent.localPosition.x, 1.03f, playercent.localPosition.z);
    }
    }
    Hope this helps!

    • @MrMikkelgamingDK
      @MrMikkelgamingDK 3 года назад

      Thank you :)

    • @doktor1350
      @doktor1350 2 года назад

      How to use vr camera in the script?

    • @vrforseniors9830
      @vrforseniors9830 2 года назад

      BULSHIT!! THE CHEAP PLATIC CRAP FROM VALVE SUCKS! AND VALVE HATES CUSTOMERSE EVEN MORE THAN STEAM HATES CUSTOMERS!!!!

  • @EthanFilms
    @EthanFilms 5 лет назад

    God I love this channel, one of the few comprehensive VR tut providers on YT. thank you valem!!!!

    • @ValemVR
      @ValemVR  5 лет назад +1

      Thank you Ethan this goes directly to my heart 😊

  • @xXYannuschXx
    @xXYannuschXx 2 года назад +1

    Thanks alot for this tutorial! Me and a friend want to make a VR game, but all the new Unity VR tutorials are only about the newer OpenXR integration, which I ran into some issues with.
    I just hope that the SteamVR plugin continues to work with newer Unity versions, since Valve has completely shifted to OpenXR, despite the OpenXR Toolkit STILL missing stuff like finger tracking (where SteamVR already gives you perfectly working hand models) and a wonky input mapping, that has the grip button incorrectly mapped (it triggers the moment you touch the controller)....
    If I wanted to use OpenXR I would have to manually implement some functionality via SteamVR and make a sort of hybrid system...

  • @qpchung1978
    @qpchung1978 2 года назад

    Thank you for sharing this tutorial video, I am studying how to use StreamVR with HTC VIVE.

  • @Taki7o7
    @Taki7o7 3 года назад

    So many Ants :D Hard to understand sometimes, but glad your videos exist ^^ Thank you so much

  • @emiltoczyski260
    @emiltoczyski260 5 лет назад +7

    For anyone having problems with opening the UI binding menu you need to update STEAMVR in unity

    • @liujanis636
      @liujanis636 5 лет назад

      I imported the SteamVR Plugin version 2.5.0, but I still get the empty chrome page when I click on "Open binding UI". Do you know what I can do to fix this? Thank you in advance!

    • @emiltoczyski260
      @emiltoczyski260 5 лет назад +1

      @@liujanis636 The binding UI should open in the steamVR app. Do you have it installed? Otherwise update it maybe.

    • @liujanis636
      @liujanis636 5 лет назад

      Tolstyy Okay, but how can you tell Unity to use certain actions with certain buttons/inputs like you could before the update. Or can you directly check if a button on the controller is pressed from a script in unity? Thanks for your help, I‘m really desperate.

    • @emiltoczyski260
      @emiltoczyski260 5 лет назад

      @@liujanis636 I mean the input menu where you set all the inputs is the same before the update. Its just that they moved it to open in the steamVR app. So it needs to be open. About actually using that input in scripts Valem has covered it in this video.

    • @liujanis636
      @liujanis636 5 лет назад +4

      Tolstyy Thank you for your help. I figured it out. The problem was that they changed the port of the localhost URL. It now is 27062

  • @CosmicComputer
    @CosmicComputer 5 лет назад

    Awesome! Would love more of this!

  • @keinavara
    @keinavara 5 лет назад +7

    Please, more STEAM VR tutorials))

  • @serpnta1267
    @serpnta1267 5 лет назад

    Great as always!!!!!

  • @pixeldrifter
    @pixeldrifter 5 лет назад

    Thank you--amazing video! Very thankful for your super current information and excellent teaching.

  • @griffinrob
    @griffinrob 5 лет назад

    Really good thanks for making these videos very helpful.

  • @LordZandaurgh
    @LordZandaurgh 5 лет назад

    Great vid! Keep up the good work!

  • @timelschner8451
    @timelschner8451 5 лет назад

    Excellent tutorial! Very good and many thanks!

    • @timelschner8451
      @timelschner8451 5 лет назад

      the switch so scene Teleport Point needs some script to really change the scene, will you make tutorial on this too? :)

  • @yesifea
    @yesifea 4 года назад

    Great like always!

  • @171694
    @171694 5 лет назад

    Great video!

  • @amoomalGJJ
    @amoomalGJJ 5 лет назад

    Thank you! this is what i needed. ^.^/ Hope to see your next video soon...:D

  • @gizmobly350
    @gizmobly350 5 лет назад

    Amazing tutorial! Thanks.

  • @-nickdev
    @-nickdev 4 года назад +1

    TO ANYONE THAT IS STILL EXPERIENCING WEIRDNESS WITH THE HANDS:
    Make SURE you do the physics layer mask like in the video. If that does not work (it didn't work for me) then what you can do is make sure your game window is set to maximize on play. This fixed any jittering hands for me and I still got the hand physics I wanted.

    • @timvan0118
      @timvan0118 2 года назад

      Thank you!!! I do not have the slightest clue why this fixes the issue but you saved me a headache. Thank you thank you!!

  • @EnriqueCaballeroCG
    @EnriqueCaballeroCG 4 года назад

    amazing tutorial, you rock

  • @LilBigfootOverlanding
    @LilBigfootOverlanding 5 лет назад +1

    Super helpful!! Thx buddy 😃👍

  • @iequalzero716
    @iequalzero716 5 лет назад

    thank you so much dude! you are the best

  • @spring1146
    @spring1146 3 года назад

    Can't thank you enough Valem

  • @diiba_
    @diiba_ 4 года назад +3

    EVERYONE WHO HAS JITTERY HANDS WHILE MOVING
    If moving the movement into FixedUpdate or messing with the layers didn't work like it didn't for me, find the HandColliderLeft and HandColliderRight prefabs and add interpolation to their rigidbodies, much smoother after I did that!

    • @ValemVR
      @ValemVR  4 года назад

      Thanks for the update I will add it to the pinned comment! :)

    • @diiba_
      @diiba_ 4 года назад

      @@ValemVR Could you also show how we could sync the body collider and snap turn with the character controller as well? Your script for making the character controller follow the camera helped a ton with moving around but I can see in the scene view that everything else is still locked to the center of the play area and quickly desyncs after moving around. Thanks a lot for the tutorials though, they've been extremely helpful!

    • @varinator3176
      @varinator3176 4 года назад

      Hey, thanks for this! That improved it, but some jittering still happens when free-falling, but on a much smaller scale.

    • @PhantomWolf93
      @PhantomWolf93 4 года назад

      YES, thank you so much, works like a charm!
      If you dont find the HandCollider prefabs, they are in SteamVR / InteractionSystem / Core / Prefabs

  • @DarkMagician31
    @DarkMagician31 5 лет назад

    Very cool video. Thank you very much =)

  • @Replicatesoundcom
    @Replicatesoundcom 4 года назад

    These are great tutororials +1 sub

  • @floydiustube
    @floydiustube 4 года назад

    in case people are curious, the documentation for the SteamVR unity plugin is at the link below. this shows where you would find methods like hand.ShowController(), for instance.
    valvesoftware.github.io/steamvr_unity_plugin/articles/intro.html
    valvesoftware.github.io/steamvr_unity_plugin/api/index.html

  • @gameexplorer4963
    @gameexplorer4963 5 лет назад +8

    Easily the best Steam VR tutorial. All others are ranging from dysfunctional, to obsolete.

    • @vrforseniors9830
      @vrforseniors9830 2 года назад

      BULSHIT!! THE CHEAP PLATIC CRAP FROM VALVE SUCKS! AND VALVE HATES CUSTOMERSE VEN MORE THAN STEAM HATES CUSTOMERS!!!!

  • @xChallengeFTWx
    @xChallengeFTWx 5 лет назад +1

    Hey merci sérieux tes tutos sont malades je t'aime

    • @ValemVR
      @ValemVR  5 лет назад

      Moi aussi je t'aime 💜

  • @igrodelsky
    @igrodelsky 4 года назад

    Thank you !

    • @eloreneloreneloreneloreneloren
      @eloreneloreneloreneloreneloren 3 года назад

      Ролики по виару не делал?

    • @igrodelsky
      @igrodelsky 3 года назад

      @@eloreneloreneloreneloreneloren Только по выбору шлема и фиксации на голове. Уроки ещё не пилил. Пока не до виара, куча других дел.

  • @EndercraftyMC
    @EndercraftyMC 4 года назад

    If your still having trouble with the rotating controllers there are two prefabs named "HandColliderLeft" and Right these need to be set to the player layer as well.

  • @ValemVR
    @ValemVR  5 лет назад +21

    ATTENTION IF YOU HAVE ANY PROBLEM READ THIS /!\
    1) If you want to have the Character Controller Capsule to follow you, I wrote a little script that should get the job down. You can find it bellow. Place it on the gameobject that has the charactercontroller and also set the CenterEye parameter of this script to be the Headset Camera in the unity editor.
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    [RequireComponent(typeof(CharacterController))]
    public class ColliderFollowHeadset : MonoBehaviour {
    private CharacterController charController;
    public Transform centerEye;
    private void Start()
    {
    charController = GetComponent();
    }
    private void LateUpdate()
    {
    Vector3 newCenter = transform.InverseTransformVector(centerEye.position - transform.position);
    charController.center = new Vector3(newCenter.x, charController.center.y, newCenter.z);
    }
    }
    2) IF THE HANDS ARE JITTERING its because the character movement needs to be in FixedUpdate and not Update like I did so you can do it this way instead :
    private Vector3 direction;
    void Update()
    {
    direction = Player.instance.hmdTransform.TransformDirection(new Vector3(input.axis.x, 0, input.axis.y));
    }
    void FixedUpdate()
    {
    characterController.Move(speed * Time.deltaTime * Vector3.ProjectOnPlane(direction, Vector3.up) - new Vector3(0, 9.81f, 0) * Time.deltaTime);
    }

    • @rzzz6184
      @rzzz6184 4 года назад

      I've put your code in the Player script but I cannot find CenterEye anywhere, Im not sure what to do, as whenever I try teleport, Character controller sometimes gets in the way.

    • @oliverlebert
      @oliverlebert 4 года назад

      @@rzzz6184 centerEye should refer to your VR Camera.

    • @oliverlebert
      @oliverlebert 4 года назад

      I'm having another issue though, It's impossible to lean over tables because you snap back to make the collider avoid snapping through the table. How do you fix this?

    • @JDRos
      @JDRos 4 года назад +1

      Valem , the jitter still exists even with the code you provided, but it only jitters in game view, on scene view it does not jitter.

    • @TheDrZepsuj
      @TheDrZepsuj 4 года назад +1

      Hands stutter no matter which Update function is used. they don't stutter if you disable hands physics or rigidbody, but this also breaks other functionality (including ability to move hands). Another thing worth mentioning, with your script, character collider follows the headset, but the actual player is still in the middle of the playspace, again this causes other issues.

  • @TheMinistryOfJesus
    @TheMinistryOfJesus 4 года назад

    Hey I love your chanel! one of the best. could you please make a video on how to set up the hand controllers for vr. but please break it down for us that are new to unity

  • @jakoblehner1635
    @jakoblehner1635 4 года назад

    For all of those who struggle with flicking hands: For me it helped to remove line 200 „hand.mainRenderModel.transform.position = offsetPosition;“ in the HandPhysics.cs file wich handles the hands offset as I understood it.

    • @teomandi
      @teomandi 3 года назад

      That solved my jittering controllers issue too. Thanks a lot!

  • @rianitsch518
    @rianitsch518 5 лет назад

    hell yeah! Thanks!!

  • @noobsec2519
    @noobsec2519 4 года назад

    You. Are. A. God.

  • @Valektrum
    @Valektrum 3 года назад +1

    Please take a look at Faith Barnett comment for the character collider not being where the actual player is. Also, the method shown for disabling the hand collision with the character collider does not work anymore, you need to go in the hand collider prefab and there change the layer to player.

  • @brokoligamer
    @brokoligamer 5 лет назад +14

    Men I love your video in every way, It works perfectly, just one thing, when I move inside the scene the models of the hands shake a lot, is there a way to fix this ? Thanks in advance !

  • @lucasmartinic2039
    @lucasmartinic2039 5 лет назад +1

    Thanks!!!

  • @arttuli
    @arttuli 4 года назад +13

    While I was able to "feel" my body, before disabling interaction between PlayerLayer and PostProcessing, I noticed that CharacterController moves only with joystic.
    If I physically walk around (room scale vr), controller does not follow. Any good tips for this?
    And after that (assuming that character controller would somehow follow the headset), how to tell apart room scale walking and 'head peeking' motion?
    So for example 'peeking' over a table with your head would not cause character controller to collide with the table?

    • @drwalrus5943
      @drwalrus5943 4 года назад +2

      I would also like to know how to do this

    • @nou2769
      @nou2769 4 года назад +2

      i can't figure out how either

    • @orcinus6792
      @orcinus6792 4 года назад +2

      Watch his other tutorials not for steam vr about the movement and you will have to change some things but it will work worked for me

    • @arnevanraepenbusch9950
      @arnevanraepenbusch9950 4 года назад +2

      @@orcinus6792 Can you link the exact video?

    • @orcinus6792
      @orcinus6792 4 года назад +1

      @@arnevanraepenbusch9950 sure, this should be it, also thanks to whoever liked my reply cause that is what notified me, i guess youtube doesnt notifiy you if someone mentions you so, anyways here it is:ruclips.net/video/5NRTT8Tbmoc/видео.html

  • @TheMinistryOfJesus
    @TheMinistryOfJesus 3 года назад

    hey can you show us how to teleport to a teleportpoint and be facing a different direction upon landing

  • @nicolehavelyana5265
    @nicolehavelyana5265 4 года назад

    we love you

  • @blaxxun75
    @blaxxun75 4 года назад

    The original InteractionSystem "Player" Rig seems not to be correct since the "BodyCollider" does not follow the actual head position. On top of that... adding a "CharacterController" adds another Collision Capsule which also does not follow the heads XZ position when walking around in RealLife. This might work for seated teleportation only but not in a mix of continous standing/walking with teleport since the root does not follow and therefore the collision capsules stay where they are. Investigating further. Still a great tutorial!!

  • @majort3514
    @majort3514 5 лет назад +3

    Hi, Can you please show how to do smooth rotation on the right touch pad please? Snap turning with smooth locomotion is not very desirable. Many thanks

  • @diegodaly
    @diegodaly 5 лет назад

    Thanks bro

  • @oliverlebert
    @oliverlebert 4 года назад +1

    I noticed one thing, if you put the subtraction of the gravity of the playercontroller script inside the if-statement. You will only fall when you're moving the joystick and stop in mid-air when you're not. To fix this, remove the subtraction inside the if-statement and add a separate line above the if-statement: characterController.Move(- new Vector3(0, 9.81f, 0) * Time.deltaTime);

    • @ValemVR
      @ValemVR  4 года назад

      You are right. Thank you for pointing that out! :)

    • @oliverlebert
      @oliverlebert 4 года назад

      Valem My pleasure :). I’ve had another issue also though. If I followed your comment and made the character controller always follow the player I instead had a problem that I couldn’t lean over tables becase the controller and body collider went all the way to the floor. Do you know how to fix this?

    • @ValemVR
      @ValemVR  4 года назад

      @@oliverlebert Thats again a good remark. Unfortunately thats a hard problem as we dont have any tracking on the feet. The easy way of fixing this is to actually move the center of the character controller only move if the distance with the camera exceed a certain threshold or if we are using the joystick movement . Therefore you will have some room to lean over the table with the threshold :)

    • @oliverlebert
      @oliverlebert 4 года назад

      @@ValemVR Wow! That sounds like a really smart fix. Didn't think of that! Thanks btw for making all these Unity SteamVR tutorials, they really are a big help and there aren't really so much alternative in that aspect. :D

    • @oliverlebert
      @oliverlebert 4 года назад +2

      Haha, I've been at work again. Just started out with Unity but it's really fun so far! This is what I've come up with to enable you to lean over tables and such by only moving the charController when the camera is a specified distance away: pastebin.com/UPVtHW2a (ColliderFollowHeadset script) The only problem with this approach is that you can go through walls etc. I am theorizing solutions atm, it's not a huge problem but it would be more streamlined if it were fixed imho.
      I also changed the PlayerController script a bit, I made the gravity value into a variable and I also experienced that teleportation didn't work when the line of code responsible for introducing gravity was added. So I simply put that method in an if-statement so that it would only be activated when the player was not grounded: pastebin.com/yYvceREj
      Edit: I now also added a Sprint function to the PlayerController script. Just make a new input action with type boolean and bind it to the variable labelled sprint. pastebin.com/T9wSci2Q

  • @DrazV2
    @DrazV2 5 лет назад +3

    12:50 - When I change the trigger click to teleport, then save and generate the input actions, nothing's changed. If I go back into the edit window, I can see my changes are not saved
    Edit: Oh I have to press "replace default bindings" every time.

  • @codaq4043
    @codaq4043 5 лет назад +1

    This is much more efficient then using the oculus integration

  • @lanmark7
    @lanmark7 4 года назад

    One of the things I am trying to figure out is how to teleport to a moving platform and make sure it works well. Also the video sets a check on the input.axis.magnitude.. if you fall off a ledge and stop moving the axis you stop falling since gravity is associated with only that line of code. If I make a 'else' and put just the gravity element and start to fall the hands start to look weird while free falling.. not sure if that can be corrected... I think it might be that the player object isn't really 'falling' but every frame getting a CharacterController.move() command.. hence why its jittery

  • @floydiustube
    @floydiustube 4 года назад

    ceci est incroyable. mbc!

  • @Beluga901
    @Beluga901 5 лет назад +1

    thank you so much! I'm using VR to help kids with autism, thanks for helping. Can you do one on raycasting that can tell what object you are pointing at?

  • @monapasic4159
    @monapasic4159 4 года назад

    thank you.

  • @piflyon
    @piflyon 5 лет назад +1

    Excellente vidéo. J’ai tout aimé, même si ça va un peu vite sur les scripts. Ça utilise beaucoup de choses (préfabriquées par Steam) dont j’ignorais l’existence et l’efficacité. La question que je me pose, c’est la compatibilité avec l’oculus store. Oculus impose de retirer les library Steam des builds, c’est pourquoi j’utilise le XR rig natif de Unity (et également je n’utilise plus le rig d’Oculus pour ne pas être embêté par Steam). L’intérêt énorme que je vois au rig de Steam c’est la gestion automatique des apparences des controllers et des mains. Vidéo découverte via Reddit.🙃

    • @ValemVR
      @ValemVR  5 лет назад

      Cest exactement ca! J'espère que bientôt Oculus et Steam VR vont se diriger vers un sdk commun mais pour l instant, VRTK est une solution. :)

  • @eloreneloreneloreneloreneloren
    @eloreneloreneloreneloreneloren 3 года назад +1

    18:40 nah, you're wrong. When we fall, we will be able to lift our finger up so the input will be zero, and then we won't fall...

  • @J_E_N_T
    @J_E_N_T 5 лет назад +7

    Thank you so much for this awesome tutorial Valem! I added the play prefab to the player layer and disabled collision with itself but the hands still shake when I move, any ideas? Thanks again :)

    • @vrforseniors9830
      @vrforseniors9830 2 года назад

      BULSHIT!! THE CHEAP PLATIC CRAP FROM VALVE SUCKS! AND VALVE HATES CUSTOMERSE VEN MORE THAN STEAM HATES CUSTOMERS!!!!

  • @MOurs-gi2ff
    @MOurs-gi2ff 5 лет назад

    Merci ! 🐻

  • @MartinVaupell
    @MartinVaupell 5 лет назад +3

    Very nice video, any tips on "Crouch" so i can pick stuff up from the floor?

    • @MartinVaupell
      @MartinVaupell 4 года назад +4

      or even better, remote/distance grab..

  • @gooe9561
    @gooe9561 4 года назад +2

    I'd rather have the movement be relative to the direction of the left controller. How do I do that?

    • @ImLightningSam
      @ImLightningSam 4 года назад +2

      Player.instance.leftHand.transform.TransformDirection(new Vector3(input.axis.x, 0, input.axis.y));

    • @gooe9561
      @gooe9561 4 года назад +1

      @@ImLightningSam Thanks! Much appreciated!

    • @B0obai
      @B0obai 3 года назад +1

      @@ImLightningSam spent last 4 hours trying to figure it out, I've never touched any code in my life.. Thank you now I kind of see I was on the right path but not quite there.

  • @РамильМавлютов-ф5ю
    @РамильМавлютов-ф5ю 2 года назад

    You're god mann

  • @Jesse-ys8wu
    @Jesse-ys8wu 4 года назад +1

    if hands are pink you need to right click on it and reimport all assets

    • @JustinPBarnett
      @JustinPBarnett 4 года назад +1

      Youll need to convert the assets to URP compatible in Edit > Render Pipeline > Universal Render Pipeline > Upgrade Project Materials

  • @bismahabdullah8517
    @bismahabdullah8517 10 месяцев назад +1

    I followed your tutorial
    But my hands are not importing the textures they are pink
    Why?

  • @diegodaly
    @diegodaly 5 лет назад +3

    Thank you for this tutorial! Very helpful and I like your way of teaching. Just one question, did anybody experience shaky hands while moving with thumbstick? (not teleporting)

    • @mikesirman
      @mikesirman 5 лет назад

      I had that. Go to project settings and Time and then set the physics check to a higher number. I set mine to 90 and it fixed it.

    • @codyswanson
      @codyswanson 5 лет назад

      @@mikesirman what's physics check? I don't see that option. Thanks

    • @mikesirman
      @mikesirman 5 лет назад

      @@codyswanson i dont remember the exact name but how many times it runs fixed update. Its in the physics settings. One other thing it could be is if the hands and player have colliders on them it could be collisions causing jitter so you can go to the collision layers and make a layer for your player. Put the player and hands all on that layer then set the layer to not collide with itself

    • @codyswanson
      @codyswanson 5 лет назад

      @@mikesirman cool, thanks. I did the physics layer and played around with the settings I think you're talking about. Who knows heh. I'm sure I'll figure it out. Small issues for a great tutorial. :)

    • @jhummelgaard9310
      @jhummelgaard9310 5 лет назад +1

      I found this article that explains why. Very informative!
      www.kinematicsoup.com/news/2016/8/9/rrypp5tkubynjwxhxjzd42s3o034o8

  • @soggyoreo9130
    @soggyoreo9130 4 года назад +5

    I know this is quite an old video, but damn this still holds up. I have one issue though in my locomotion system. It's just that when your physical headset is not in the center of the play space, the virtual body's collider tends to be at an offset and it gets super weird. Do you have any where I can go to resolve this issue? Thanks for the help man.

    • @leaves_reality
      @leaves_reality 4 года назад +4

      (this is just a copy of my comment)
      Hey There Gamers, if you're having problems with your character collider not being where the actual player is , I made a little script y'all can use, just put it on the player object.
      using System.Collections;
      using System.Collections.Generic;
      using UnityEngine;
      public class MOVE2PLAYER : MonoBehaviour
      {
      public Transform playercent; // use the VR camera here
      public CharacterController charc;
      // Start is called before the first frame update
      // Update is called once per frame
      void Update()
      {
      charc.center = new Vector3(playercent.localPosition.x, 1.03f, playercent.localPosition.z);
      }
      }
      Hope this helps!

    • @ImLightningSam
      @ImLightningSam 4 года назад +1

      @@leaves_reality Thank you so much for this!

  • @xavierbuisson4535
    @xavierbuisson4535 4 года назад

    U ve a french accent ! R u ? ^^ thx a lot, all ur videos are so usefull, u rock ;)

  • @calv.r999
    @calv.r999 2 года назад

    13:35 when I save & generate, it empties my Localized String text which prevents me from the next step.
    EDIT: The ole restart was all it took. Thanks for the tutorial! Subscribed

  • @chandraprakashshukla413
    @chandraprakashshukla413 4 года назад +2

    Sir, what can I do to make a game for my homemade DIY headset and its controllers?

  • @amberelferink
    @amberelferink 2 года назад

    When I add the TouchPad controller input at 13:16 and do what he does, I do not get any live input for the Touchpad (although I can see the controller 3D pose itself changing). Did anyone encounter this?

  • @MAMAvsGOD
    @MAMAvsGOD 3 года назад +1

    I dont see my XR settings only my other settings.

  • @TheKrazykyleman
    @TheKrazykyleman 4 года назад +2

    I am using the Index, cause that's what I have, and when I try to use the show controllers option, nothing shows up in my hands and the player hands are stiff and don't respond to finger tracking.

    • @gooe9561
      @gooe9561 4 года назад +1

      Get rid of the CameraRig and add the Player asset.

    • @TheKrazykyleman
      @TheKrazykyleman 4 года назад

      @@gooe9561 thank you so much, I've been holding off on this tutorial until I fixed this

  • @votlesword9150
    @votlesword9150 4 года назад +1

    i have problem how to teleport with vive controler

  • @intentionaldeconcentration
    @intentionaldeconcentration Год назад

    GREAT JOB!!!
    How can i make teleportation area invisible?

  • @diiba_
    @diiba_ 4 года назад +1

    I'm trying to figure out how to make the player move with the headset's location as well so that I'm not forced to stay in the pre-defined position of the character controller's center, currently my actual position on my play area doesn't match the center of it so the hitbox for moving up and down slopes is next to me rather than on me. I know I could change the pre-defined position to match it but that would still limit me to stand still.

    • @spaghetti_irl
      @spaghetti_irl 4 года назад

      I'm trying to figure this out too. let me know if you find a solution

    • @einthomas614
      @einthomas614 4 года назад +1

      I've covered it in my video how-to (timestamp 3:22) if you want to watch it^^ The gist is to add a collider to the player prefab and update the collider's center according to the local position of the camera ;)

    • @diiba_
      @diiba_ 4 года назад

      @@einthomas614 Yeah I figured it out as well, also made it follow only when using the joystick so it won't prevent me from leaning over objects

  • @danpaul4108
    @danpaul4108 5 лет назад

    Have you found a good manual on Steam VR? Thanks for the excellent video! I'm trying to wean myself off of VRTK but have never been able to find good documentation on the basic Steam VR plugin. This video helps illustrate just how powerful it is, but I need to figure out some other stuff too. Like drop zones.

  • @yuvalreshef1790
    @yuvalreshef1790 5 лет назад +1

    I'm having a recurring issue with trying to move using the touchpad, when I try to replicate the code you use (at 15:00), I get an error regarding the term "axis" - 'SteamVR_Action_Vector2' does not contain a definition for 'axis' and no accessible method 'axis' accepting a first argument of type 'SteamVR_Action_Vector2' could be found (are you missing a using directive or an assembly reference?)
    I tried to look it up but could find no solution to this, so if you happen to know what the problem is I would really appreciate it!

    • @emiltoczyski260
      @emiltoczyski260 5 лет назад +1

      did you add the "using Valve.VR;
      " and "using Valve.VR.InteractionSystem;" at the top?

    • @joaosilvajr.3260
      @joaosilvajr.3260 5 лет назад

      Just in case your issue is the same as mine. In my rush to type, I let the IDE autocomplete for me, and instead of using SteamVR_Action_Vector2 I was using ISteamVR_Action_Vector2 (notice the "I" for interface). This won't let you select the new input action from the drop-down like he shows in the video. Once I changed it, everything worked like in the video.

  • @doriondouglas6176
    @doriondouglas6176 4 года назад +2

    im ready to give up. no matter what i do, the colliders dont follow the actual head. Whenever i start the game, my headset is a few feet away from the actual body. Meaning if i walk into a wall, me head goes a few feet through it until the actual body collides with it. Literally no way to fix it, someone please help im getting so mad with this

    • @-nickdev
      @-nickdev 4 года назад

      turn on the body collider included in the player prefab

    • @233cade3
      @233cade3 4 года назад

      @@-nickdev Didn't work for me :(

  • @anficyon
    @anficyon 5 лет назад +3

    geat, great.
    what do you recomend for a UI for VR, for change scenes and activate tutorials for the players?

  • @gameskjsl132
    @gameskjsl132 5 лет назад

    Merci !

  • @JanezKrnc-San
    @JanezKrnc-San 3 года назад

    Is there a XR Device simulator, similar to the one in Unity's XR Interaction Toolkit ?

  • @hnsalexchandriyaa4900
    @hnsalexchandriyaa4900 3 года назад

    I am using URP Material for that teleporting with 3D plane it's working fine. but when I try to teleport inside any gameobject(Cube..) the **Destination Reticle** and **Raycast** but is not visible. so i try with normal material which means without URP material, now in this case working fine with gameobject(Cube) but it's not visible in 3d plane.