Unity VR Tutorial: How to Make a Body Socket Inventory

Поділитися
Вставка
  • Опубліковано 14 лип 2024
  • Resources For This Tutorial
    github.com/Fist-Full-of-Shrim...
    Free Unity VR Template
    github.com/Fist-Full-of-Shrim...
    Written Tutorial Found Here
    fistfullofshrimp.com/unity-vr...
    🍤Check Out My Patreon🍤
    / fistfullofshrimp
    0:00 Intro
    0:17 Reviewing Resources
    0:34 What Is a Body Socket?
    1:43 What Is the Body Socket Inventory?
    3:30 Attaching Items to Body Socket Inventory Correctly
    4:20 Adding More Body Sockets
    5:14 Having the Inventory System Follow the Player
    Music Credits
    ------------------------------
    Floating by Smith The Mister Hey Yeah, by Smith The Mister
    Smith The Mister Smith The Mister
    Free Download / Stream: [No Copyright Music] Floating by Smith The Mister · Hip Hop & Rap + Calm
    Music promoted by Audio Library Floating - Smith The Mister (No Copyright Music)
    ------------------------------

КОМЕНТАРІ • 37

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

    Thank you so much for these tutorials. Very nice to see someone explaining concepts and mechanics widely used in popular video games.

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

    thanks, man! still waiting for tutorial about vehicle control in VR, but this one also important.

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

      It might be a bit before I can tackle that one. About to go on a big trip, but I'll definitely see what I can cook up when I get back!

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

    Awesome! By the way I referenced your controller data tutorial for some of my research! Thanks a lot!

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

      That's amazing! Thanks for letting me know! I absolutely love hearing about how others are using my videos. Cheers!

  • @MattCS384
    @MattCS384 Місяць тому

    Thanks!

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

    Another amazing tutorial!!

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

    Great tutorial!

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

    Thank you for tutorial

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

    You’re underrated to be honest.

  • @Sail_VR
    @Sail_VR 9 місяців тому +1

    Coming in Clutch yet again!!!!

    • @FistFullofShrimp
      @FistFullofShrimp  9 місяців тому

      Always happy to help you! I hope development on Sail is going smoothly!

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

    I really want to say thank you. Not only because of the tutorial that i really(!) needed for my game atm, but also for this superb gunsound!
    Please.. can i use it in a game that will get published anytime „soon“?🙈😂

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

      Glad it helped. I would be honored if you used my amazing voice acting/gun noises in you game. Go for it mi amigo!

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

    Great video but it only works if XROrigin is on 0 y position. The moment it changes the script stops working, I assume it has to do something with the local position.

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

      WOW! Thanks for finding this. You are 100% correct. Totally screwed up and didn't use local positioning. Script is updated and fixed in Github. Cheers!

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

      @@FistFullofShrimp Thanks! :) Looking forward for more of your videos.

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

    How can you make it so the item that you put into the socket becomes smaller

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

    When i do this but i use my own tool which is a sword with an normal attachpoint just like the low poly gun, it doesnt work, it doesnt attach. Also when i move around after attaching the gun to the socket it doesnt follow

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

    Question here: Why do you have to change the transform of the sockets? Wouldn't it track it the parent transform?

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

    bro how do i send you money, you have actually saved my life

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

      I'm glad your life was saved by my random video about Body Inventory. When I made it, I was hoping someone's life would be saved by it.
      Thanks for the kind words! I'm going to put a Patreon together at the end of October/start of November🍤💸🍤💸

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

      @@FistFullofShrimp you are the best!

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

    this was pretty helpful and informative! but quick question: how do you avoid objects getting picked up randomly by the sockets? for example if an object is just dropped or if you walk by a counter with grabbable objects on it the sockets just suck up whatever they hit first. I've been playing with the events to try and set it up so they're only active while the player is touching them but it's still really easy to accidentally activate them and unintentionally pick up random objects. Any suggestions on how to fix this unwanted behavior?

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

      same problem. u already fixed it?

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

      @@kierpatrickempang2361 fixed is a strong word, I just wrote a simple script with some functions to change the layer mask and had the event system call it. So when an object is selected it changes the layer mask to be able to be put into a socket, on select exit I have it wait for a fraction of a second then check again if it's being selected, if not return the layer mask to normal where it cannot interact with a socket. This works because being in a socket counts as being selected and letting it go to put it in a socket counts as exiting a select even though it immediately reenters, you can play with the delay a bit to allow more leeway in dropping an object into a socket. If you need more specifics I can check the script on my computer later but I'm on mobile atm

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

      thanks for the reply. I appreciate it

  • @xulipaTV
    @xulipaTV 9 місяців тому +1

    Resource link don't work because it contains harmful software says my browser

    • @FistFullofShrimp
      @FistFullofShrimp  9 місяців тому

      I used to use downgit to provide a direct download from github. Google appears to hate that now. You can find the github repo here!
      github.com/Fist-Full-of-Shrimp/FFOS-VR-Tutorial-Resources

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

    When I use this script the height of the sockets works perfectly, but nothing happens when I rotate my head around. Any ideas? :(

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

    if in multiplayer can other players steal my items from me?

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

    do stabbing tutorial