2023 Unity VR Basics - Grabbing Objects

  Рет қаралды 22,538

Fist Full of Shrimp

Fist Full of Shrimp

Жыл бұрын

Continuing on with the basics, we'll be covering how to grab objects in VR! In order to do this, we'll need to master two components from the XR Interaction Toolkit. Those being, the XR Grab Interactable and the XR Direct Interactor.
► 🍤Support the channel🍤
Patreon: / fistfullofshrimp
Subscribe For Shrimple Tutorials: / @fistfullofshrimp
► 💬 Socials🗨️
Discord: / discord
Written Tutorials: fistfullofshrimp.com/
► 🔗Useful Links🔗
Written tutorial can be found here! : fistfullofshrimp.com/how-to-u...
► 📦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

Пікірлер: 30
@jcozyyt
@jcozyyt 11 ай бұрын
Your tutorials are great :)
@lzmkalos
@lzmkalos Ай бұрын
Thank you !
@ladyupperton23
@ladyupperton23 Жыл бұрын
Another great video from the master of shrimp!
@FistFullofShrimp
@FistFullofShrimp Жыл бұрын
We really should stop meeting like this on the internet. People will start to get suspicious!
@blue_578
@blue_578 Жыл бұрын
Great video, very clear and easy to follow. I am trying this with my Oculus Rift and I was wondering how to set the buttons for this? It's not fully clear to me which button to click to do the interaction or should it attach as soon as the colliders overlap?
@ivani5543
@ivani5543 Жыл бұрын
Thank you for your wonderful tutorial. If using xrit to splice objects, similar to LEGO, how can they be connected one by one? Do you have any good suggestions? Or could you create a video tutorial about it?
@GamerReality
@GamerReality Жыл бұрын
Nice tutorial. I'm experiencing an unpleasant delay in grabbing. This works for all the different types of grabbing, and the problem is that it takes a good .5 seconds of holding the grip button to grab the different objects I've set up. This will be confusing for players, why is this happening?
@64jcl
@64jcl 7 ай бұрын
I noticed you are also a bit shaky on the hands in VR (I am too). Is there perhaps some way to smooth out the rotation motion to remove some of that jittery motion? It is especially noticeable when I hold an object if I grip my controller a bit too tight. I am not really that shaky in real life but the tracking on the Quest 2 (and now Quest 3) seems to be somewhat oversensitive.
@AntonVish
@AntonVish Жыл бұрын
another cool tutorial! thank you! the small thing i can’t find in the tutorials is: how to apply a “feeling of mass” for the grabbables? because everything you can grab becomes a zero-weight thing :( is there some easy way or this is something you need to do in code with inheritance of the base class?
@FistFullofShrimp
@FistFullofShrimp Жыл бұрын
You might want to consider playing with setting the object to velocity tracking and messing with attach ease in time and smooth position/rotation. It could help give that feeling of weight. I'll see if I can add "feeling of mass" when I cover two handed grabbing!
@AntonVish
@AntonVish 9 ай бұрын
@@FistFullofShrimphi! long time no see!!! Had some free time to try the settings you mentioned, but can't say i reached the result i was expecting for. it' basically changes almost nothing, but i see this possible for sure while playing oculus or psvr games. so, if you have a time to cover this, please do!!! i believe it's something one can achieve with some additional coding. but my power here is kind of limited :(
@AntonVish
@AntonVish 9 ай бұрын
update: i've reached the feeling i was searching for with velocity scale (0.1 - 0.05 is good to emulate heavy thing) + some haptic feedback. so thank you any way! you moved me to the right direction!
@vvrr6dif
@vvrr6dif Жыл бұрын
Love this video can you do a video on UE5 ❤
@FistFullofShrimp
@FistFullofShrimp Жыл бұрын
It may be some time before I visit UE5. Don't get me wrong, I think it's a great engine, but it's already hard enough to try and juggle Unity VR and its ever evolving XR Interaction Toolkit.
@BenTheDev754
@BenTheDev754 2 ай бұрын
Do you have any tutorials on extending the interactable class? I’ve been trying to create an object that you can hold with one hand, and then if you grab the object with the other hand (while still holding it) you grab a new object. It’s not like an inventory, where the other items are hovering around the base item, but more like a container that you’re pulling objects out of. I’ve been wrestling with this for the last few weeks or so and can’t seem to find any good resources on extending the base classes to add/tweak this kind of functionality
@olivername
@olivername Жыл бұрын
Need some help when I grab something goes into sky
@flareboy6
@flareboy6 11 ай бұрын
I can hold it, but its like 20 feet away from me. can someone please help?
@andystevenson4305
@andystevenson4305 3 ай бұрын
8:54
@yizheng7321
@yizheng7321 7 ай бұрын
Can I grab multiple objects at once?
@Murrfrogg
@Murrfrogg 10 ай бұрын
I got this to work a couple weeks ago (your tutorials are amazing, thank you), however I wanted to take it further and create a basketball type game. When I returned to the project I found that when I'd hit play the objects would fly away at an extremally high speed (opposite direction of the table). The 3 cubes are not overlapping in the scene... believe I've run into this before but can't recall the solution. Does anyone have an idea of what may be going on?
@plyrni3
@plyrni3 9 ай бұрын
Looks like you have a collider in your scene that is bigger than it should Tips : You can write "t:Collider" in the hierarchy search bar. It will show you every Collider component That way you can quickly check your colliders
@plyrni3
@plyrni3 9 ай бұрын
You can also view the colliders via the Physics debugger : Window/Analysis/Physics Debugger Than check your Scene, you'll see in the bottom right a "Collision Geometry", check it and you'll see every colliders as opaque
@danielericcardo9180
@danielericcardo9180 9 ай бұрын
amazing video but there is a gap on the grabbable object U jumped it and this make the tutorial not smooth, what a pity, thanks anyway for Ur big work.
@graemerock77
@graemerock77 2 ай бұрын
Odd, when I add an `XR Direct interactor`, my project does not auto-populate the `Interaction Manager` field with an `XR Interaction Manager`. I have scanned through the last 2 videos and my project, and cannot find a reason why it is not auto-populating. I have an XR Interaction Manager object in my scene, it can be equipped to other objects (and needed to be). I see it has Starting Hover and Select filters, and I am trying to figure those out now.
@graemerock77
@graemerock77 2 ай бұрын
To fix this, apparently, I needed to have the Collider on the same gameObject as the XR Grab Interactable and Rigidbody if I am using a Base Prefab. Even though the `XR Grab Interactable` was always able to find the mesh collider on children and add them to the list, they never worked.
@NAGYT101
@NAGYT101 Жыл бұрын
make a stabbing tutorial
@FistFullofShrimp
@FistFullofShrimp Жыл бұрын
Based off my zombie intro, I probably should!
@NAGYT101
@NAGYT101 Жыл бұрын
@@FistFullofShrimp im sure it would be one of the most advanced tutorial
@raandomplayer8589
@raandomplayer8589 2 ай бұрын
I dont understand why did you keep remaking the same tutorial over and over, but thanks i guess
@FistFullofShrimp
@FistFullofShrimp 2 ай бұрын
The xr interaction toolkit updates every year and with it, comes a ton of changes. Tutorials from previous years don't work with the most up to date version of the xr interaction toolkit. This means I have to redo this series every year if the changes are drastic enough. This year, I'm planning on reducing it to a single long-form video. Hope this clarifies things.
2023 Unity VR Basics - Ray Interactions
11:07
Fist Full of Shrimp
Рет қаралды 13 М.
Throwing Objects in VR using Unity
9:20
lightsandclockwork
Рет қаралды 3,6 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 201 МЛН
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
2023 Unity VR Basics - Input System and VR Hands
11:46
Fist Full of Shrimp
Рет қаралды 22 М.
How to Setup the XR Interaction Toolkit - 2023 Unity VR Basics
12:22
Fist Full of Shrimp
Рет қаралды 38 М.
How to Setup a VR Game in Unity - VR Rig & Animated Hands!
15:39
How To Open Doors Easily in Unity With Trigger Events
6:52
Fist Full of Shrimp
Рет қаралды 1,5 М.
Let's Make a VR Game Part 6 - Button, Door and Socket Interactor
20:26
Valem Tutorials
Рет қаралды 11 М.
Let's Make a VR Game Part 3 - Grab and Throw
25:20
Valem Tutorials
Рет қаралды 15 М.
How to make a VR Button | Unity Tutorial
8:12
RealaryVR
Рет қаралды 40 М.