Turn Controllers to Hands in VR with Unity XR! Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

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

  • @tompayne36
    @tompayne36 3 ปีที่แล้ว +6

    Somewhat unrelated question...how are you getting the Oculus Quest 2 controllers to work while you are in the "play" environment? Currently, I need to compile and debug in the headset.

    • @ProfitGoat
      @ProfitGoat  3 ปีที่แล้ว

      Hmm interesting... Maybe you need to switch build settings to Android and specify your device as Oculus? I can't think of anything else that i do to get the Oculus to just work when I press play...

  • @roland3161
    @roland3161 ปีที่แล้ว

    How do you manage to start the "game" right in unity? I have only found a way to export it aas apk and import it with the quest device manager. But i work on mac, maybe thats the problem?

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

    If your controllers don't work when creating an XR Rig, watch my Get Started with Unity video or replace the controller component XR Controller (Action-based) with XR Controller (Device-based). Also make sure under Input, the Controller Node is set to the correct controller (Left Hand or Right Hand).

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

    Very good tutorial

  • @brianfromearthhh
    @brianfromearthhh 4 ปีที่แล้ว

    Yo this will help me a lot in the near future! Keep those tutorials coming!!!

    • @ProfitGoat
      @ProfitGoat  4 ปีที่แล้ว

      For sure! Thanks!

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

    Awesome!

  • @Wolv21
    @Wolv21 3 ปีที่แล้ว

    Question, I understand how rotating the hand works at 2:41 in the video. But if I rotate along the X axis, 50 degrees to put it in the correct position, the Red Line doesn't move with the rotation of the hand.
    I noticed that after playing the scene, under LeftHand Controller there is an "Original Attach" object. Rotating that corrects the line but only at that time. Setting reverts back after stopping the game.
    Any help would be appreciated. Loving the tutorials.
    I'm using a Valve Index.

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

    idk if its outdated now and thats why but my left hand when i add it was like 5 meters away from my actaul controller

  • @mrmagit5239
    @mrmagit5239 3 ปีที่แล้ว

    Hey I need some help... I got the hands working and stuff but when I use the hands to grab an object, the animation gets stuck and won’t reset. tbh I can’t figure out how to fix it

  • @rodneywheeler7764
    @rodneywheeler7764 3 ปีที่แล้ว

    You need to do more videos !!

  • @暮雨祈
    @暮雨祈 3 ปีที่แล้ว +1

    I'm using the xr interaction toolkit 1.0.0-pre.6, I can't see that hand after I drag the prefab into 'Model Prefab', but if I directly drag that fbx into the slot, it works. Do you know why?

    • @暮雨祈
      @暮雨祈 3 ปีที่แล้ว +1

      Well, I'm a dumb. I didn't set the position of the model correctly, which is far away from (0, 0, 0) XD

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

      @@暮雨祈 Helped me out :)

  • @kwat0935
    @kwat0935 3 ปีที่แล้ว

    how to lock a roation of an object

  • @Cthulhu013
    @Cthulhu013 3 ปีที่แล้ว

    I cant edit anything in play mode.

  • @darklitskies
    @darklitskies 3 ปีที่แล้ว

    Does this work with Oculus Rift/Rift S?

  • @yourmom-ph9uv
    @yourmom-ph9uv 3 ปีที่แล้ว

    umm the room scale xr thing doesent show up in unity for me

    • @bingyyt
      @bingyyt 3 ปีที่แล้ว

      Same

  • @tenzenin6301
    @tenzenin6301 4 ปีที่แล้ว

    my hands wont take the rotation information from the prefab. it ignores it. testing on quest 1, needs rotational fix like yours. -1 scaling flip also not working.

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

      Hey again, you need to put your prefab in another wrapper game object. XR Controller overwrites the rotation of the prefab so what I do is just make an empty game object, put my hand prefab inside that empty game object, make the newly created object a prefab and put that into the Model controller slot.

    • @tenzenin6301
      @tenzenin6301 4 ปีที่แล้ว

      @@ProfitGoat Thank you so much! I should have thought of that, we had a similar setup in A-frame vr, with trackPos being a child of the position-altering object. Anyways, it works now. Thanks again!

    • @ProfitGoat
      @ProfitGoat  4 ปีที่แล้ว

      @@tenzenin6301 You're welcome!

    • @pau_pau_pau
      @pau_pau_pau 3 ปีที่แล้ว

      @@ProfitGoat Hey I have the same problem! and I'm following the tutorial to the T

    • @pau_pau_pau
      @pau_pau_pau 3 ปีที่แล้ว

      Pls help

  • @NoTime4Adventure
    @NoTime4Adventure 3 ปีที่แล้ว

    thank you!

  • @jordansanders5957
    @jordansanders5957 3 ปีที่แล้ว

    I only get xr rig

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

    You need to slow down

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

      do it yourself via settings or pausing

  • @alphaprp2025
    @alphaprp2025 ปีที่แล้ว

    when I compile the application it doesn't detect the controls