Unity VR Tutorial: How to Make a Body Socket Inventory

Sdílet
Vložit
  • čas přidán 26. 06. 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)
    ------------------------------

Komentáře • 37

  • @Danieldialga
    @Danieldialga Před rokem +3

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

  • @TheKingGoose
    @TheKingGoose Před rokem

    Another amazing tutorial!!

  • @DesuqVidya
    @DesuqVidya Před rokem

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

    • @FistFullofShrimp
      @FistFullofShrimp  Před rokem

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

  • @AntonVish
    @AntonVish Před rokem +1

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

    • @FistFullofShrimp
      @FistFullofShrimp  Před rokem +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!

  • @tamzidhossainxarir417

    Great tutorial!

  • @MattCS384
    @MattCS384 Před 15 dny

    Thanks!

  • @typeable
    @typeable Před rokem +2

    You’re underrated to be honest.

  • @ViiViorea
    @ViiViorea Před rokem

    Thank you for tutorial

  • @Sail_VR
    @Sail_VR Před 8 měsíci +1

    Coming in Clutch yet again!!!!

    • @FistFullofShrimp
      @FistFullofShrimp  Před 8 měsíci

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

  • @HipBlooD
    @HipBlooD Před rokem +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  Před rokem

      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 Před rokem +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  Před rokem +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 Před rokem +3

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

  • @kelpez
    @kelpez Před 7 měsíci

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

  • @etayschwartzberg3175
    @etayschwartzberg3175 Před rokem

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

  • @colinbexell5942
    @colinbexell5942 Před rokem

    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

  • @TheUnshippedcorpse
    @TheUnshippedcorpse Před rokem +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 Před 11 měsíci +1

      same problem. u already fixed it?

    • @TheUnshippedcorpse
      @TheUnshippedcorpse Před 11 měsíci +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 Před 11 měsíci

      thanks for the reply. I appreciate it

  • @dogepauwa1899
    @dogepauwa1899 Před rokem

    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 Před rokem

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

  • @xulipaTV
    @xulipaTV Před 8 měsíci +1

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

    • @FistFullofShrimp
      @FistFullofShrimp  Před 8 měsíci

      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

  • @yulovery6398
    @yulovery6398 Před rokem +1

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

    • @FistFullofShrimp
      @FistFullofShrimp  Před rokem

      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 Před rokem

      @@FistFullofShrimp you are the best!

  • @NAGYT101
    @NAGYT101 Před 11 měsíci

    do stabbing tutorial