2023 Unity VR Basics - Input System and VR Hands

Поділитися
Вставка
  • Опубліковано 14 лип 2024
  • With setup complete, we now need to work on getting our hands working in VR. To do that, we'll need to go over Unity's Input Action System and connect our controller inputs with our Hand animations.
    ► 🍤Support the channel🍤
    Patreon: / fistfullofshrimp
    Subscribe For Shrimple Tutorials: / @fistfullofshrimp
    ► 💬 Socials🗨️
    Discord: / discord
    Written Tutorials: fistfullofshrimp.com/
    ► 🔗Useful Links🔗
    Written Tutorial found Here: fistfullofshrimp.com/how-to-u...
    Unity Package for this project: drive.google.com/file/d/1HyEa...
    ► 📦Assets📦
    Free VR template: github.com/Fist-Full-of-Shrim...
    ► 🕹️More Shrimple Tutorials🕹️
    Optimize Your Draw Calls: • Unity VR Optimization ...
    Optimize URP: • Your VR Success Guide:...
    Unity Lighting Essentials: • Light Up Your Game : U...
    ► 🦐Who's El Shrimpo?🦐
    I'm Fist Full of Shrimp! I make the most shrimple tutorials about Unity, Game Development and VR Development! My Unity tutorials are beginner friendly, but also tend to get into more details that can be forgotten. I do my best to make my tutorials as quick and clear as possible, so if you've found them helpful so far, consider liking and subscribing for more!
    #unity #gamedev #vr
    0:00 Intro
    0:40 Unity Package Download
    2:09 Spawning Hands
    2:50 Animation Controller, Animator, and Animation Clips
    4:49 Animation Controller from Scratch
    7:05 Unity Input Action System
    9:00 Scripting
    11:22 Testing Our Hands

КОМЕНТАРІ • 44

  • @jcozyyt
    @jcozyyt 11 місяців тому +2

    Love how you present all of this in a simple way. Keep it up Mr. Shrimp :)

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

    Thank you for the video, it is greatly appreciated.

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

    great video please provide us with more vr information.
    Great Work!!!

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

      Keep watching and the shrimp will keep providing! 🍤 🦐 🍤

  • @Mrr_Guy
    @Mrr_Guy 11 місяців тому +1

    Thank you SO much!

  • @mido_amr
    @mido_amr 10 місяців тому +2

    thank you for the turorial
    yes please a seperate video for the animation of the fingers

  • @Trenton2G
    @Trenton2G 22 дні тому

    Good tutorial, thank you.

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

    Thanks!

  • @MattForemanFlow
    @MattForemanFlow 10 місяців тому +2

    Thank you so much for your up-to-date VR tutorials!! Would love it if you covered animating the hand models from scratch via the animation clips - would you consider doing a video about that? Also, could this be applied to an IK-rigged character? I plan to use full-body humanoid skeleton avatars with IK for my games (probably rigged with Mixamo or something). Similar to how the avatars work in the game "Population: ONE".

  • @asifmoideen607
    @asifmoideen607 Рік тому +6

    Thanks a lot! could you make a tutorial for using XR hands with hand poses, snap to object etc.

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

      Definitely on the to do list for this series. Thanks for the comment! 🍤

  • @gamerforlife1986
    @gamerforlife1986 4 місяці тому

    yes please a seperate video for the animation of the fingers

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

    You are a very big help! So some assets have button mapping "like E opens door" but this is for keyboard. Is there a simple way to map this "E" button keyboard to the "A" button Meta Q2 and same for other keys. In the input manager it is really confusing for quest controllers, at least for the framework I have, which has things like primary, secondary buttons and not A,B,X,Y. Thank you!

  • @orlandorivera61
    @orlandorivera61 11 днів тому

    Not sure what is up - your code works great but I have one issue - when I put a hand prefab into the XLR controller model property in unity to span my Oculus hands I get two hands for each left and right hand

  • @AlexRonai
    @AlexRonai 10 місяців тому

    I'm trying to make a pause menu but I can't find with InputActionProperty the one for the menu buttons on the Quest 2 controllers. There is a menuButton one in XR Controller but no menuButtonPressed and when I put menuButton and tried ReadValue or float but none worked, how can I do it?

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

    I'm getting this strange issue where the hands are only rendering in my right eye, in my left I can see the red lines coming off of the hands but no hands. Does anyone know why this might be?

  • @Romeniki
    @Romeniki 11 місяців тому

    i have error when i add script to the prefab

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

    Hi I'm having trouble writing the script into Animation Controller. For some reason I'm getting a compiling error. Not sure what to do, any help would be appreciated.

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

      Give it to ChatGPT and it will fix it for You if You clearly explain what it should do..
      That is the trick... Sometimes chatgpt writes bug gy scripts 😂😂😂

  • @szialoo9674
    @szialoo9674 10 місяців тому

    Please help @Fist Full Of Shrimp, I entered the code and error code cs0246 comes up (error code cs0246 the type or namespace InputActionReference could not be found) what do I do???

    • @szialoo9674
      @szialoo9674 10 місяців тому

      Wait I just left a space in using unityengine inputsystem

  • @OfficialBellGaming
    @OfficialBellGaming 3 місяці тому

    everything is good except i cant find animate hand controller when i search for components

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

    Do you know how this could work with the valve index ?

    • @KahootSucks
      @KahootSucks 8 місяців тому

      What id do is look up how to do index tracking and write a script to detect is the player is using index controllers or not to enable/disable it

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

    Have you ever thought of making a discord server for your subscibers to chat and help eachother with vr projects?

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

      It's definitely on my todo list. Currently juggling a lot, but I'm hoping for October to put something together! 🍤🍤🍤

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

      Sounds like something to look forward to 🍤🍤🍤

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

    I put code in but when I copy it comes up with errors need help @Fist Full of Shrimp

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

    can you help me I missing the hand script not sure why

    • @petersonbuissereth7674
      @petersonbuissereth7674 3 місяці тому

      It's not included. Either go for the patreon link or write it yourself following video from 9:28

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

    is this hands on controller

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

    I import the file not sure why my hands are pick

    • @tommedenney
      @tommedenney 11 місяців тому +1

      hands are pink because the materials need to match the renderpipe line your using. If your using the universal render pipeline then you need to go to Edit > Rendering > Materials > Convert selected Built-In to URP

    • @abdulrahmanalduraiweesh5120
      @abdulrahmanalduraiweesh5120 11 місяців тому

      @@tommedenney i cant seem to find the Rendering in the edit

    • @tommedenney
      @tommedenney 11 місяців тому

      @@abdulrahmanalduraiweesh5120 it should be at the bottom of the edit tab when you click or hover over it. If it’s not showing up then maybe your using an older version of the Unity editor. Make sure your on the latest version of 2022 LTS

    • @DeadHandRed
      @DeadHandRed 6 місяців тому +1

      @@abdulrahmanalduraiweesh5120 hi, i know its late, but did you find this? i had the same issue.. go to the pink objects 'material' it may be in another folder beside the prefab. change the materials shader to standard

    • @abdulrahmanalduraiweesh5120
      @abdulrahmanalduraiweesh5120 6 місяців тому +1

      @DeadHandRed thanks for replying I did figure it out but this could help someone

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

    but idk how to script and i dont have money :(

    • @petersonbuissereth7674
      @petersonbuissereth7674 3 місяці тому

      Create a script file (right click inside a folder, then CREATE / C# SCRIPT) . Then open that file in a text editor and follow video from 9:28