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
Love how you present all of this in a simple way. Keep it up Mr. Shrimp :)
Thank you for the video, it is greatly appreciated.
You're most welcome! 🍤
great video please provide us with more vr information.
Great Work!!!
Keep watching and the shrimp will keep providing! 🍤 🦐 🍤
Thank you SO much!
Glad it helped!
thank you for the turorial
yes please a seperate video for the animation of the fingers
Good tutorial, thank you.
Thanks!
Tack!!
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".
Thanks a lot! could you make a tutorial for using XR hands with hand poses, snap to object etc.
Definitely on the to do list for this series. Thanks for the comment! 🍤
yes please a seperate video for the animation of the fingers
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!
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
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?
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?
i have error when i add script to the prefab
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.
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 😂😂😂
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???
Wait I just left a space in using unityengine inputsystem
everything is good except i cant find animate hand controller when i search for components
you have to write it from scratch like in the video
Do you know how this could work with the valve index ?
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
Have you ever thought of making a discord server for your subscibers to chat and help eachother with vr projects?
It's definitely on my todo list. Currently juggling a lot, but I'm hoping for October to put something together! 🍤🍤🍤
Sounds like something to look forward to 🍤🍤🍤
I put code in but when I copy it comes up with errors need help @Fist Full of Shrimp
What are the errors saying?
can you help me I missing the hand script not sure why
It's not included. Either go for the patreon link or write it yourself following video from 9:28
is this hands on controller
I import the file not sure why my hands are pick
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
@@tommedenney i cant seem to find the Rendering in the edit
@@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
@@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
@DeadHandRed thanks for replying I did figure it out but this could help someone
but idk how to script and i dont have money :(
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