Full Body Physics in VR - Unity Boneworks/Bonelab Tutorial

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024

Комментарии • 99

  • @ValemTutorials
    @ValemTutorials  Год назад +14

    Hope you guys will enjoy this video and if you have anything you want to see me cover next let me know down bellow ! :)

    • @bananastudiotheprogramer
      @bananastudiotheprogramer Год назад +2

      maybe add avatar switching like in bonelab or the vechile

    • @alexgalvez-vega740
      @alexgalvez-vega740 Год назад

      A tutorial series that focuses on C# and VR creation could be cool.

    • @BFFUWGTHAFO
      @BFFUWGTHAFO Год назад

      Jumping and climbing with interactable objects!! But mostly jumping please!

    • @lukeyager5039
      @lukeyager5039 Год назад +3

      Physics hands that respond to weight would be huge

    • @gioelecarluccio7061
      @gioelecarluccio7061 Год назад

      It is possible do it without the controllers? For example making the hand not pass through the table but with hand tracking, and it will be awesome know to do it with oculus integration 🙏🏻🙏🏻

  • @picoplanetdev
    @picoplanetdev Год назад +13

    This is a huge step up in interactions in VR games and it's great that it is finally available as a tutorial.

  • @curranh.8328
    @curranh.8328 Год назад +11

    Valem, It is always extremely impressive to me that you have consistently pioneered VR tutorials on unity -- for YEARS -- by taking focus subjects both vast and difficult enough that they should merit a complex case study anywhere else, and efficiently boiling the subject matter down to something always absolutely coherent. They say if you can't explain something simply, then you don't have a deep understanding of it; so I never cease to be amazed! Your grasp on this information is very professional and I have no doubt that you are shaping the future of VR with every exclusive tutorial you release for free on youtube. Please keep it up!! You're my favorite content creator 😁😁

    • @ValemTutorials
      @ValemTutorials  Год назад +2

      Thank you its for comment like these that I make video

    • @LarryJunior334
      @LarryJunior334 8 месяцев назад

      im having a problrm with the vr hands
      they are rotations as if they are on a swivel connrcted to the physicshand, which rotates constantly@@ValemTutorials

    • @Brcherlovestacos
      @Brcherlovestacos 7 месяцев назад

      its because controllers arent connected you need steam vr open@@LarryJunior334

  • @thijsvandercaaij5968
    @thijsvandercaaij5968 Год назад +7

    For anyone else who gets launched upon testing: I had the locomotion components on XR Origin as per a previous tutorial. The Character Controller component has its own collider however which together with the Body Collider from this tutorial sends you flying haha

    • @nickgamerdudesGT
      @nickgamerdudesGT Год назад +1

      Thanks for this tip it helped me a lot!

    • @nou2769
      @nou2769 Год назад +1

      I'm getting launched but I don't have the character controller component I thought I finally found a solution 😭

    • @rainbi991
      @rainbi991 Год назад +1

      @@nou2769 For anyone who's still getting launched, try to make sure the position of all of your children of the Physics Rig are zeroed out. Not entirely sure why it works but I know it has something to do with the configurable joints...

    • @DigitalAdamTech
      @DigitalAdamTech Год назад

      Anyone else figure this out? Zero everything out didn't work either.

    • @Rabbi32
      @Rabbi32 Год назад

      @@DigitalAdamTech its the head when u drastically change the position of one of the spring joints it likes to take the body wt it im working on figuring out a way to stop it. but my problem at least occurs on the start when the body collider is set to min b4 the update of the player then it launches you up when it finally updates. My idea if i can't find anything on the actual spring joint is to update the players height once in the start function then have it update after in the fixed update. Sorry if that's confusing. I'll update once i find solution.

  • @Ollie_sm
    @Ollie_sm Год назад +5

    you should do a hand pose tutorial and possibly an updated full body ik tutorial to go with this to make it the true boneworks/bonelab experience, I've seen many people requesting this but either way I know this tutorial series is going to be one of the most helpful ones yet!

  • @Giantpenguin
    @Giantpenguin Год назад +8

    Ever thought about doing a tutorial about interacting with other characters? Move limbs, grab their arm and drag them around etc?

  • @Mozzzie
    @Mozzzie 11 месяцев назад +11

    Finished Script ;)
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    public class PhysicsRig : MonoBehaviour
    {
    public Transform playerHead;
    public Transform leftController;
    public Transform rightController;
    public ConfigurableJoint headJoint;
    public ConfigurableJoint leftHandJoint;
    public ConfigurableJoint rightHandJoint;
    public CapsuleCollider bodyCollider;
    public float bodyHeightMin = 0.5f;
    public float bodyHeightMax = 2;
    // Update is called once per frame
    void FixedUpdate()
    {
    bodyCollider.height = Mathf.Clamp(playerHead.localPosition.y, bodyHeightMin, bodyHeightMax);
    bodyCollider.center = new Vector3(playerHead.localPosition.x, bodyCollider.height / 2,
    playerHead.localPosition.z);
    leftHandJoint.targetPosition = leftController.localPosition;
    leftHandJoint.targetRotation = leftController.localRotation;
    rightHandJoint.targetPosition = rightController.localPosition;
    rightHandJoint.targetRotation = rightController.localRotation;
    headJoint.targetPosition = playerHead.localPosition;
    }
    }

    • @CynonX
      @CynonX 3 месяца назад +1

      you are a life saver

    • @orngyezreal
      @orngyezreal 17 дней назад

      hippity hoppity...

  • @BFFUWGTHAFO
    @BFFUWGTHAFO Год назад +3

    Omg you are godsend, I was looking into body physics for the past 3 days!! Will you be adding jumping and object interaction too??

  • @GeeCeeAte
    @GeeCeeAte 9 месяцев назад

    AMAZING video!! Thank you! I have been spending soooo much time trying to write followers. Turns out configurable joint has everything i need! Glad I stumbled across your video!

  • @FistFullofShrimp
    @FistFullofShrimp Год назад +1

    Doing amazing work as always!!! Sounds like it'll be a solid mini-series. Looking forward to it! 🍤

  • @nuin9937
    @nuin9937 5 месяцев назад

    If the collider wasnt matching for you, you need to set the XR Origin "Tracking Origin Mode" to Device, and the camera Y offset to 0.5

  • @jayminoh4195
    @jayminoh4195 Год назад

    This is crazy! I love you, Valem.

  • @cate01a
    @cate01a 2 месяца назад

    cheers!
    i was getting strange behaviour, so i changed the xr rig xr origin tracking origin mode to not specified and left the camera y offset at default of 1.1176 and it works great now

  • @skippy5652
    @skippy5652 Год назад

    I love all of these vids. So many things I want to add to my projets each time!
    I would love to see you do something with Vive/Tundra Trackers and legs. It would make an interesting vid (and help me out a ton 😀 )

  • @thefroogguy
    @thefroogguy 11 месяцев назад

    @ValemTutorials hi your videos are really cool and easy to follow

  • @vivelis
    @vivelis Год назад

    Encore une super vidéo, continue comme ça !😺

  • @dexter4383
    @dexter4383 Год назад +5

    Bonelab developers sweating over this one

  • @theperfectchex3078
    @theperfectchex3078 Год назад

    Hey Valem. I love your vr tutorials and I just wanted to ask if you could make more videos on your How To Make a VR Game tutorial. I'm really curious how to make a map you load into and enemy AI's the chase and shoot at you

  • @pastuh
    @pastuh Год назад

    04:42 it's like in app supernatural, except you can't feel random hit :))

  • @DylanChillin927
    @DylanChillin927 11 месяцев назад

    for people that are bouncing when they spawn in: zero out all the collider centers for the hands and body

  • @JoyzaInnovations
    @JoyzaInnovations Год назад +1

    I redid this tutorial twice and the hands dont collide and rotating sends me into the sun, is this still functional with 2023 XR interaction system?

  • @tezashalok8691
    @tezashalok8691 Год назад

    valem i love you !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @motoday3580
    @motoday3580 Год назад

    Nice !

  • @3d-action
    @3d-action Год назад

    If somehow your hand physic collider is the opposite of your controller then you need to check the rotation on your xr origin.

  • @SethIsTrying
    @SethIsTrying 2 месяца назад

    hey just finished this video and when i go to load up my game in vr i am stuck to the ground, and in ver it just looks like a picture. if i move my head up i dont look up in game i just keep sing the same "frame". i have no errors in the console. i dont know what to do

  • @Noah-sw5xw
    @Noah-sw5xw Год назад

    finally!

  • @user-go6ic2wf9o
    @user-go6ic2wf9o 4 месяца назад

    Why this is not working for me?I did everything like in tutorial. Can it be the starting setup?

  • @surfingnomads6473
    @surfingnomads6473 Год назад +2

    Can anyone tell me why my configurable hand joints are swinging all over the place?

  • @andrescruz4564
    @andrescruz4564 Год назад

    Hey Valem, would you be able to do an updated series on Unity AR Development?

  • @pandaa1485
    @pandaa1485 Год назад +3

    I have this weird thing that happens at the start of the game there is this bounce that occurs that sends me into the air any idea whats wrong its like the collider falls through the ground then gets launched back up

    • @jaswei
      @jaswei Год назад

      Did you ever find a solution to this issue?

    • @pandaa1485
      @pandaa1485 Год назад

      @@jaswei no

    • @bytesgroup
      @bytesgroup 12 дней назад

      Had the same problem. Test it on a new scene with a fresh xr origin using part 1-2 of his how to make a vr game vids.

  • @nachete1998zgz
    @nachete1998zgz Год назад

    the physics work correctly but when In conjunction with the continuous locomotion (instead of teleporting) it does not work. Any idea what physic may be interacting so moving the character glitches?

  • @lupus41
    @lupus41 Год назад

    Hey, can you make a viedo about velocity traking from the controllers, that would be awsome

    • @mmmsir6034
      @mmmsir6034 9 месяцев назад

      all the tutorial he make is trash

  • @aiclipsnstuff
    @aiclipsnstuff Год назад +1

    4:26

  • @matthewBarrie53
    @matthewBarrie53 Год назад

    Have you tried this with the OVR Rig with hand tracking? I made an attempt and was getting weird results where the physics did not seem to function correctly.

  • @TheBuilderNpc
    @TheBuilderNpc 11 месяцев назад

    do i still need my camera offset on the XR Origin?

  • @NAGYT101
    @NAGYT101 Год назад +1

    i spawn in the floor why

  • @timmydev8250
    @timmydev8250 Год назад

    I love you so much!!!! :D

    • @mmmsir6034
      @mmmsir6034 9 месяцев назад

      the tutorial is trash

  • @Nareux
    @Nareux Год назад +1

    how do i adjust the strength on the hands???? ive been strugling for an hour now.

    • @bytesgroup
      @bytesgroup 12 дней назад

      Just change the 5000 and 50 values

  • @pastuh
    @pastuh Год назад

    Interesting how I would disable hands physics if I want to interact with some objects, but without selecting them ..

  • @ZA-2cool4U
    @ZA-2cool4U Год назад

    EPIC 12th COMMENT LESS GO
    also thanks for the video this is better than paying 70 bucks for hexabody

  • @notpxpyt
    @notpxpyt Год назад

    Yo this is.bitnof a silly question but can you make a tutorial on how to make a npc like in bonelab and possibly a gore system? Tryna make a game that is blood trail and Bonelab combined

    • @mmmsir6034
      @mmmsir6034 9 месяцев назад

      It is so freaking easy, why would you need a tutorial for this trash thing?

  • @MeesIsSuckAtGaming
    @MeesIsSuckAtGaming 4 месяца назад

    i know that its a year ago that this tut is made but its still helpfull

  • @VamperMT
    @VamperMT Год назад

    Will it work with VR IK?

  • @randommonk1
    @randommonk1 7 месяцев назад

    i did the script but the stuff dont show up. the thing that tells me to choose capsule collider. can someone send me a file of the script? it didnt work

  • @thefroogguy
    @thefroogguy 11 месяцев назад

    hey i have a problem where my hands dont collide is their something in the code that does that

    • @bytesgroup
      @bytesgroup 12 дней назад

      Did you not know what you did with the layer? It turns off collision with the body so it doesn't glitch out

  • @shizik_nomer_1
    @shizik_nomer_1 4 месяца назад

    I can't add physics to my hands ):

  • @LarryJunior334
    @LarryJunior334 9 месяцев назад

    why do my hands rotate even when i dont use them?
    Please, you are my only help @ValemTutorials .

  • @Gunmonkeys_ojvr
    @Gunmonkeys_ojvr 8 месяцев назад

    i did not want gtag physics if i wanted it i wouldn't have to make all this you can literally just put the colliders on the hand

    • @nuin9937
      @nuin9937 5 месяцев назад

      wrong

    • @TEVRisCOOL
      @TEVRisCOOL Месяц назад

      i don't think he knows what gorilla tag is, also this is for vr physics not gorilla tag

  • @Jkdk42
    @Jkdk42 Год назад

    If i move my hand fast it move my Body up in the air

    • @JammyJacker
      @JammyJacker Год назад

      Cause your comments recent I have a question, what version did you use, because I can’t get mine to work?

  • @PicoBaseball
    @PicoBaseball 7 месяцев назад

    can someone pased the code bc im lazy asf

  • @rosx_8446
    @rosx_8446 Год назад

    do ik now pls

  • @ThatsOfficialTiny
    @ThatsOfficialTiny 8 месяцев назад

    What template do it use

    • @bytesgroup
      @bytesgroup 12 дней назад

      He said it at the beginning. He uses his own vr hands from his tutorial on how to make a vr game.

  • @user-lv3ju6ro6n
    @user-lv3ju6ro6n Год назад

    Anyone who has the scripts

  • @c.g.1896
    @c.g.1896 Год назад

    First

  • @orieltv2722
    @orieltv2722 Год назад

    it doesnt work, the rotation follows the hand but the position does not

    • @ZBR92
      @ZBR92 5 месяцев назад

      have u found the problem to this

  • @greenboy157
    @greenboy157 6 месяцев назад

    3:54

  • @daylightwastaken
    @daylightwastaken Год назад

    3:50