Complete VR Body Setup - Arms and Legs IK with Hand Animation

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ธ.ค. 2024

ความคิดเห็น • 290

  • @kiwifrfr
    @kiwifrfr ปีที่แล้ว +36

    for anyone having issues with the ikfootsolver script, the solution that solved my issue of the legs just floating in place was to change the step distance, height, and length to smaller numbers like 0.4 and 0.2 instead of the default values of 1 and 4 because they were configured for the mech model unity used which is way bigger than a normal humanoid one

    • @ValemTutorials
      @ValemTutorials  ปีที่แล้ว +12

      I'm going to pin this comment because of the tips and the cute dog on the profile picture. :D

    • @1playfair
      @1playfair ปีที่แล้ว

      Awesome just moved my character to a new scene to start building that scene and noticed that the hand targets are being followed but the feet are floating in space. Your comment will likely help fix that for me. Thanks and thanks Valem. I am also noticing as I walk that my hands look like they are glitching or jumping a little as I walk forward. It may be something I’ve done outside of this video. I’ll figure it out at some point.

    • @LeoYu-xo8dw
      @LeoYu-xo8dw 10 หลายเดือนก่อน +1

      Thanks for the info! However, it still does not work for me, and both legs are floating around on the side of character's body. Any suggestion to fix this issue? Thanks a lot.

    • @SkizzGT
      @SkizzGT 10 หลายเดือนก่อน

      @@1playfair have you resolved this issue when i move my character is laggy or glitchy

    • @HarshaRajendranHarsha
      @HarshaRajendranHarsha 9 หลายเดือนก่อน

      Hi I am facing a similar issue. The upper hands, the face torso Upto the hips are working great. The legs seem to be in air for sometime and then it begins to fold completely near the origin ( I.e the spot where the AVATAR was there prior to pressing the play button ). and have bent knees at 90 degrees far away from the origin. I am Having issues with the legs. Initially they float horizontally and later they bend in a slow manner. And the knee leg doesent lift when I lift my legs here. I got them to move front, back and towards the sides. Help me please. It’s quite urgent actually. The latest values are having the speed at 4 and the step distances covered in decimal values. Yet I am still getting the horizontal floating legs issue which folds up and doesent respond when I lift for knee flexion, thighs etc.

  • @ehtishamulhaq7028
    @ehtishamulhaq7028 หลายเดือนก่อน +2

    Thanks for the tutorial!
    For anyone struggling with floating legs when they are bent (while crouching), what helped me was setting Ray Start Y Offset to 0.5. It may be different for you. The problem is ray going under the ground and hence it doesn't hit the ground. To visualize and set your offset,
    you can use the following debug line right after new Ray object is created in Update function of IK Foot Solver script: ```Debug.DrawRay(ray.origin, ray.direction * rayLength, Color.red); ```
    Then as you enter play mode, and go to Scene view, you can see two red lines under the Avatar's feet. So, adjust Ray Start Y Offset and also perhaps the Ray Length accordingly to make sure these lines start from above the ground and go over it.

  • @TheAstrocricket
    @TheAstrocricket 10 หลายเดือนก่อน +2

    For those having issues with the wrist not rotation the forearm, which causes some jank, you can parent the "Hint" to the "Target"

    • @Myusernameis_name
      @Myusernameis_name 5 หลายเดือนก่อน

      By jank do you mean like your arm spazzing out?

  • @controltowervr4489
    @controltowervr4489 2 หลายเดือนก่อน

    Thanks for the great tutorial.
    FYI, if the character IK is outside the VR rig and your character goes very fast (like say... your character is traveling with a jetpack), your visible body will be 1 frame behind your actual VR body and making a interesting out of body experience (seeing your body from above).
    To resolve this, I just moved the IK under the VR rig so that the late update is done at then end of that frame and not on the next frame.

  • @xOmqduperJJ
    @xOmqduperJJ 8 หลายเดือนก่อน +1

    for those who are having trouble with its legs floating and not walking that means it is too close to the ground, If that dose not work then the ground probably needs a mesh collider

    • @xOmqduperJJ
      @xOmqduperJJ 8 หลายเดือนก่อน

      (somtimes)

  • @venusroc1258
    @venusroc1258 ปีที่แล้ว +5

    Thanks for covering such an important content for vr second time. I was always managing the mess up on the first tutorial this one is even simpler and faster

    • @gamelady-dolls
      @gamelady-dolls ปีที่แล้ว +1

      How about the leg problem? thanks!

    • @HarshaRajendranHarsha
      @HarshaRajendranHarsha 9 หลายเดือนก่อน

      Hi I am facing a similar issue. The upper hands, the face torso Upto the hips are working great. The legs seem to be in air for sometime and then it begins to fold completely near the origin ( I.e the spot where the AVATAR was there prior to pressing the play button ). and have bent knees at 90 degrees far away from the origin. I am Having issues with the legs. Initially they float horizontally and later they bend in a slow manner. And the knee leg doesent lift when I lift my legs here. It got them to move front, back and towards the sides. Help me please. It’s quite urgent actually.

  • @IanMuDarren
    @IanMuDarren 10 หลายเดือนก่อน +1

    Thank you, your tutorials are very valuable and have helped me avoid many pitfalls.

  • @J4ME5_
    @J4ME5_ 10 หลายเดือนก่อน +1

    What an amazing tutorial, I love your energy too! THANK YOU! I could learn from you all day! Much love from Seattle!

  • @matthewduncanson8744
    @matthewduncanson8744 ปีที่แล้ว +7

    Could you please do a tutorial on vr melee combat your tutorials have helped me a lot and I can’t find any other tutorials on melee combat I would be very grateful😊

    • @Quest2Gamer
      @Quest2Gamer ปีที่แล้ว

      😁 I second this motion

  • @StoneOakvalleyStudios
    @StoneOakvalleyStudios ปีที่แล้ว +6

    Doing a Two-Bone Constraint on a arm which has 3 bones? You can very well see that your shoulder bones does not move at all - stuck together with your neck, in physical real life body it does move 3 bones, try it :-) Try with Chain IK instead and limit that to 3 bones, where root = LeftShoulder and Tip = LeftHand, then source is Left IK Target = a whole different movement and lets us stretch the hands in VR without beeing limited by that unmoveable shoulderbones.

    • @epoch2435
      @epoch2435 3 หลายเดือนก่อน

      Thank you, i was dealing with this problem.

  • @DuranMediaSolutions
    @DuranMediaSolutions 9 หลายเดือนก่อน +2

    YOU ARE A LEGEND!! A+++

  • @PRodi_
    @PRodi_ ปีที่แล้ว +8

    Valem do you have in plans to do some tutorials like: "Final IK" from assets store with VR in mind???

  • @Sail_VR
    @Sail_VR ปีที่แล้ว +4

    THANK YOU!!

    • @IamGrimVR
      @IamGrimVR ปีที่แล้ว +2

      full body system in your game, cool to know

    • @chickensmaster1525
      @chickensmaster1525 4 หลายเดือนก่อน +1

      yo, love your game!

  • @spacekick6942
    @spacekick6942 5 หลายเดือนก่อน +1

    Worked Perfectly! I just needed to make some small changes to the right and left vr targets( because I'm using a different xr origin).

  • @wurstohnedarm
    @wurstohnedarm 7 หลายเดือนก่อน +2

    Brilliant! Waiting for Part2

  • @duckie0002
    @duckie0002 ปีที่แล้ว +2

    love your stuff valem! been using your tutorials since day 1 on unity

    • @mmmsir6034
      @mmmsir6034 ปีที่แล้ว +1

      I even using his tutorials when I was born! It was so great!!!

  • @SupernerdX_Dev
    @SupernerdX_Dev ปีที่แล้ว +20

    @valem Tutorials please make another part to this video that shows how you can add this full-body VR setup to the full-body physics rig you completed previously. That way, we can create a full boneworks like experience. I am currently trying to implement it, and I run into an issue where my character's model glitches evetime I move forwards.

    • @PommeDeux
      @PommeDeux ปีที่แล้ว

      Did you ever get past the issues? I'm looking to implement the full body physics to this as well.

    • @gavinrector
      @gavinrector ปีที่แล้ว +1

      by chance are the rigidbody bones using interpolation/extrapolation? that has to be off.

  • @BossKing1243
    @BossKing1243 ปีที่แล้ว +1

    Bloody great tutorial man + I love the passion in your voice. Very easy subscription + like. I told my friends about you 🤟🏾

  • @lukemccarron-gamedev6685
    @lukemccarron-gamedev6685 ปีที่แล้ว +1

    Awesome tutorial very easy to follow great teaching style

  • @airish1777
    @airish1777 9 หลายเดือนก่อน +1

    Thanks this was really helpful!!!

  • @NeoFox-23
    @NeoFox-23 7 หลายเดือนก่อน +6

    the ik footsolver script doesnt show up

  • @A_walk_in_the_park
    @A_walk_in_the_park ปีที่แล้ว +4

    This is a great video, but how would you add a body to a rig with hand tracking ?

  • @robatwarrior3591
    @robatwarrior3591 10 หลายเดือนก่อน +4

    how do you change the main cameras position?

  • @basedwaffle
    @basedwaffle ปีที่แล้ว +8

    i need a tutorial for the forearm twist

    • @receptionsystem
      @receptionsystem ปีที่แล้ว

      thats more blender based, its weight painting

  • @RichardKnox-fp7vd
    @RichardKnox-fp7vd 9 หลายเดือนก่อน +1

    For anyone else that had a problem with the blue hands not moving the arm IK just instead of making an empty object in the origin tab just drag the Right Arm IK_Target and the Left Arm IK_Target into the target IK hope this helps somebody :)

    • @LyssFr
      @LyssFr 8 หลายเดือนก่อน +1

      i don't understand

  • @Besttechnology
    @Besttechnology 10 หลายเดือนก่อน +6

    i have a problem that the camera doesn't start in the middle of the head its down

    • @AbhijitPatil-s7e
      @AbhijitPatil-s7e 5 หลายเดือนก่อน +1

      yea same did you find a solution for that ??

  • @chimerascorner3023
    @chimerascorner3023 3 หลายเดือนก่อน

    after setting up the target and hints exactly the way you showed, my characters hands still wont budge.

  • @babbabbabbabbab
    @babbabbabbabbab ปีที่แล้ว +9

    Tip for anyone using the script wondering why the ingame hands move fatser than your real cotrollers its because of lerp here is the late update function without the lerp
    void LateUpdate()
    {
    transform.position = head.ikTarget.position + headBodyPositionOffset;
    float yaw = head.vrTarget.eulerAngles.y;
    Quaternion targetRotation = Quaternion.Euler(transform.eulerAngles.x, yaw, transform.eulerAngles.z);
    transform.rotation = targetRotation;
    head.Map();
    leftHand.Map();
    rightHand.Map();
    }
    }

    • @gamelady-dolls
      @gamelady-dolls ปีที่แล้ว +2

      How about leg problem? Thanks~

    • @Not_Axlson
      @Not_Axlson ปีที่แล้ว

      is this the entire script
      for the ik legs

    • @gamelady-dolls
      @gamelady-dolls ปีที่แล้ว

      @@Not_Axlson I dont know

    • @babbabbabbabbab
      @babbabbabbabbab ปีที่แล้ว

      @@Not_Axlson no only the late update function

  • @MajorBatman
    @MajorBatman ปีที่แล้ว +1

    Brilliant!

  • @SavAndOak
    @SavAndOak ปีที่แล้ว +3

    For some reason the main camera is in the legs how to move it to the head?

  • @Samuel-bd1ms
    @Samuel-bd1ms 7 หลายเดือนก่อน +1

    Thank you for this tutorial, it really helped me get things started! Do you have a list of sources that you used for this video I can reference?

  • @yks7188
    @yks7188 ปีที่แล้ว +1

    Great. Thanks for sharing🥳

  • @underbelly69
    @underbelly69 ปีที่แล้ว +6

    would be great for hands tracking - and if the hands are lost from view for a moment - to ease the hands to sides so they dont suddenly disappear

  • @mshuang5122
    @mshuang5122 หลายเดือนก่อน +1

    Help! I downloaded the scripts and imported to Unity, it warned "Assets\VR Body\AnimateOnInput.cs(10,12): error CS0246: The type or namespace name 'InputActionProperty' could not be found (are you missing a using directive or an assembly reference?)". Also I cannot find IK Foot Slover (scripts)

  • @KilianSpeiser
    @KilianSpeiser 4 หลายเดือนก่อน +1

    Great tutorial, very helpful and efficient. However, I struggle to find the version of the IKFootSolver script that you are using. The one I found does not have the option to change the foot rotation offset. Could anyone please share where I can find the correct version of the script? Thanks!

  • @JustArus
    @JustArus ปีที่แล้ว +3

    8:30 My character doesn't want to walk with bent legs; if the character is in the air, it walks somehow, but when it bends its knees, the target stays in place and the legs start flying.

    • @ivanpardo7976
      @ivanpardo7976 ปีที่แล้ว

      Happens the same to me. Did you manage to solve it?

    • @BananaBL-Bonelab
      @BananaBL-Bonelab ปีที่แล้ว

      @@ivanpardo7976 for me i had to keep the default settings for the foot solver

    • @mhdnaderlabbad5887
      @mhdnaderlabbad5887 ปีที่แล้ว +1

      becase your character has collider set your character to a new layer call player

    • @thameesmohamed3582
      @thameesmohamed3582 ปีที่แล้ว +1

      add a mesh collider for your surface

  • @clxssics
    @clxssics ปีที่แล้ว

    I have a problem with my rig where it makes it so when I look down I can see the inside of the body of my model, is there anyway I can fix this?

    • @eriklazarre4391
      @eriklazarre4391 ปีที่แล้ว

      Probaly its because of where the target for your head is. Try playing around with it in playtime until you get the right value then save it.

  • @axs203
    @axs203 ปีที่แล้ว +2

    I wonder if this is preparing us for something coming up 😉

  • @Jery_vr
    @Jery_vr ปีที่แล้ว +1

    tysm!

  • @MickyDuhn
    @MickyDuhn 11 หลายเดือนก่อน +2

    hey, i was wondering why the legs were so long, so i looked like i was crouching the whole time

  • @donna2016..
    @donna2016.. 22 วันที่ผ่านมา

    After i did the IK Foot Solver my character just floats to the sky D:

  • @FabioVitulano
    @FabioVitulano 4 หลายเดือนก่อน +1

    hi, if i haven't the reference for the hands (XRI pinch/grab interaction/activate), how can i do for set the XR Hands on the Hands of my character?

  • @Kali996
    @Kali996 ปีที่แล้ว +4

    at 9:08 i find the foot rot offset is better at X -120 and Y 120

  • @StephenLee-s3h
    @StephenLee-s3h 10 หลายเดือนก่อน +1

    Great tutorial. I'm having issues with my character going through walls. My walls have box colliders. Should I be adding a Ragdoll to the character for collision detection? Or should add a Rigidbody to VR Character IK and then add capsule colliders to each body component - arms, legs, etc. Should be easy, but I'm just learning. Thanks for any help you can provide.

    • @daylightwastaken
      @daylightwastaken 8 หลายเดือนก่อน

      On the XROrgin, you can use a character controller with the “Character Controller Driver” component, which makes it more dynamic for VR use.

  • @kanchanasaravanan8142
    @kanchanasaravanan8142 11 หลายเดือนก่อน +1

    Hi in this video there is a handmodel seems like already has been made with animations. SO in order to follow this video i need to do that first right. Is there a video for this

  • @BebJeb1
    @BebJeb1 หลายเดือนก่อน

    how do i get the xr thingys bc at 11:37 he messes with this thing called xr orgin i wnna know how to get it so i can finish the vr script

  • @mononofu2336
    @mononofu2336 15 วันที่ผ่านมา

    Hello from Japan.
    I was having the same problem with the player's feet not following.
    The foot was moving correctly up to a certain height, but from a certain height the target was not following and the foot was free.
    However, I set the value of RayStartYOffset in IKFootSolver to -0.5 and it worked correctly.
    I hope this helps someone.
    P.S.
    Mr.Valem. I'm always looking forward to your reference. Thank you.

  • @gamerhd1450
    @gamerhd1450 ปีที่แล้ว +2

    I am having trouble making the character walk. I added everything as in the video, and the character crouches when it touches the ground, but when i drag it forward, it floats. Any help?

    • @ValemTutorials
      @ValemTutorials  ปีที่แล้ว

      I would suggest to play with the setting of the Leg IK and make sure that the raycast used by it has found something. I know they are a bit tricky. :/

    • @hazelyokouji2005
      @hazelyokouji2005 ปีที่แล้ว

      no just lower the character body like the -0.64 value in the IK rig , change it to -1 or something , the feet is just not feeling the collision of the ground thats all

    • @ArmedMicrowave
      @ArmedMicrowave 8 หลายเดือนก่อน

      Did you ever find a solution to this, because nothing I'm doing seems to work

    • @gamerhd1450
      @gamerhd1450 8 หลายเดือนก่อน

      @@ArmedMicrowave nope

  • @versable9324
    @versable9324 ปีที่แล้ว +1

    i keep laughing at the arms in the intro lol

  • @kvashir
    @kvashir ปีที่แล้ว +1

    I have problems implementing this, when I move my body shakes and I have tried everything

  • @SwapnilLadkhedkar
    @SwapnilLadkhedkar ปีที่แล้ว +2

    @Valem Tutorials, I am wearing headset and then trying the control the body. My problem is that whenever I rotate my head in up and down my VR Body gets behind / Infront of camera means when i look down my body gets behind me and looking up my body gents infront of my camera. and in inclined rotation. staying straight it perfectly aligned

    • @Smettb00
      @Smettb00 11 หลายเดือนก่อน

      Have you ever found a solution for this?

    • @user-ix1fl1nc5l
      @user-ix1fl1nc5l 10 หลายเดือนก่อน

      Hey did u figure it out? I’m having the same issue

    • @GabrielBSL
      @GabrielBSL 10 หลายเดือนก่อน

      Did you solve it?

    • @winfredwang2282
      @winfredwang2282 10 หลายเดือนก่อน

      same issue here, did anyone figure it out?

  • @twistedsluggerdev
    @twistedsluggerdev ปีที่แล้ว +1

    Wahoo!

  • @WhoopyStick
    @WhoopyStick ปีที่แล้ว +2

    Excellent tutorial as always @Valem . With a little tweaking in the inspector I got all my body parts to line up. I am using continuous movement provider action based for my locomotion and noticed there is jittering and lagging of the VR model toward the targets (I kept my renderers on to test) as opposed to when not moving with locomotion. I attempted a predictive update function and even a movement provider monitoring through XRNodeState but still got lag when moving. Do you have a method of fixing this or a simple setting solution I haven't tried? It seems like it should be reasonably easy to do but I spent all my brainpower on a Grappling gun yesterday and now I am bewildered. Any help would be great! or if anyone in the comments has a fix? Thanks again!

    • @jamesprise4252
      @jamesprise4252 ปีที่แล้ว

      any problems getting the hand tracking to work?

    • @fashvr9961
      @fashvr9961 ปีที่แล้ว

      please tell me you found a solution

    • @jamesprise4252
      @jamesprise4252 ปีที่แล้ว

      @@fashvr9961 nope. still a mess

    • @fashvr9961
      @fashvr9961 ปีที่แล้ว +7

      to anybody who is experiencing this, here is the solution. just switch the Update method in "IK Target Follow VR Rig" script from LateUpdate to just Update. your welcome

    • @jamesprise4252
      @jamesprise4252 ปีที่แล้ว

      @@fashvr9961 will try tomorrow. thanks !

  • @FearfulMonku
    @FearfulMonku 2 หลายเดือนก่อน

    Thanks

  • @seligmanventuresglobal8858
    @seligmanventuresglobal8858 ปีที่แล้ว +2

    Great Video again @Valem!! How easy would it be to swap in a different character model. e.g. if you wanted male and female character choices. We have made a number of updates to the downloaded prefab so assume it would be quite tricky?

    • @TheIndieGamesNL
      @TheIndieGamesNL ปีที่แล้ว +1

      If both genders have the same mixamo rig you could try to switch out the meshes

  • @sanjayselvaraj1090
    @sanjayselvaraj1090 ปีที่แล้ว +1

    My view is from the bottom it's not following the exact position of head but i checked all the positions everything seems to be perfect. Please guide me in this

    • @user-ix1fl1nc5l
      @user-ix1fl1nc5l 10 หลายเดือนก่อน

      Hey did I find the solution for this.

  • @JoelIndetzki
    @JoelIndetzki 5 หลายเดือนก่อน

    great Video! I Would just like to know how to add other Grab Poses. I cant seem to find any tutorial for that.

  • @Carrasine
    @Carrasine ปีที่แล้ว +1

    is it possible, to do the rig setup at runtime? Or at least the assignment of constraints?
    I'm trying to build a rig on a character model that I load at runtime out of an online db, so I can't pre-set-up the rig...

  • @piratemin_vr
    @piratemin_vr ปีที่แล้ว +1

    I've been trying to get something like this working all day today, this is good timing. What I'm confused about is, what what if you are taller than your avatar? Surely your avatar will float above the ground?
    Update: After testing VRChat, it seems there's a few second delay where it must check if there's still a distance between your feet and the ground layer, and then automatically switches you from "seated" to "standing" to compensate for the distance.

    • @nwy_0186
      @nwy_0186 ปีที่แล้ว

      same problem for me it will float in the air

    • @SongLu-q3u
      @SongLu-q3u ปีที่แล้ว

      Can we just make the avatar taller?

    • @piratemin_vr
      @piratemin_vr ปีที่แล้ว +1

      @@SongLu-q3u I've sorted the issue. Calling a method every 5 seconds that checks the distance between the feet and the floor. If its more than X I then scale the avatar to make up for the difference.

    • @SongLu-q3u
      @SongLu-q3u ปีที่แล้ว

      @@piratemin_vr Thank u very much! Well done

  • @diegoaranda382
    @diegoaranda382 9 หลายเดือนก่อน +1

    Hi, where can I find the IK Foot Solver Script?, I didn't find it on the Robot Walk videos!

    • @qis2999
      @qis2999 8 หลายเดือนก่อน

      there is a drive link in Description

    • @hafsa8010
      @hafsa8010 8 หลายเดือนก่อน

      can u show me where to find that script

    • @qis2999
      @qis2999 8 หลายเดือนก่อน

      @@hafsa8010 drive.google.com/file/d/1eSaeMTLxWpRYo8ZYM6hprlMG-N716REL/view

  • @Dion-vr1ek
    @Dion-vr1ek 22 วันที่ผ่านมา

    Can't add script component 'AnimateOnInput' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match.

  • @GerardCurrius
    @GerardCurrius 5 หลายเดือนก่อน

    Congrats for this tutos, amazing!!! One question, when create VRRig scrips there is missing VRMap functions and more, could you share the file, mine doesn't work copying exactli your script, Thanks a lot!

  • @dawsonpenner2070
    @dawsonpenner2070 ปีที่แล้ว +1

    I’m only realizing now how long it would have taken to make Bone Works or Bone Lab (I’m gravity gloves guy)

  • @AkshayKumar-h9l
    @AkshayKumar-h9l ปีที่แล้ว +2

    But my HMD rotates the entire body rather than the head alone. How to resolve it, Valem ? If anyone knows how to resolve the issue, help me.

    • @TurkiKAlqou
      @TurkiKAlqou ปีที่แล้ว +1

      Have you found the solution yet?

    • @anishpatel5242
      @anishpatel5242 ปีที่แล้ว +1

      I'm also stuck on the same bit@@TurkiKAlqou

    • @LarryJunior334
      @LarryJunior334 8 หลายเดือนก่อน

      Same

  • @HarshaRajendranHarsha
    @HarshaRajendranHarsha 9 หลายเดือนก่อน

    Hi I am facing a similar issue. The upper hands, the face torso Upto the hips are working great. The legs seem to be in air for sometime and then it begins to fold completely near the origin ( I.e the spot where the AVATAR was there prior to pressing the play button ). and have bent knees at 90 degrees far away from the origin. I am Having issues with the legs. Initially they float horizontally and later they bend in a slow manner. And the knee leg doesent lift when I lift my legs here. I got them to move front, back and towards the sides. Help me please. ‼️

  • @FranciscoMorales-b3b
    @FranciscoMorales-b3b 8 หลายเดือนก่อน

    Hi, i have a problem, when i move the character , the feet target doesnt move, and stays in the position when they spawned, i already try ti change the step distance, etc but its still the same

  • @XboxPlayerPL
    @XboxPlayerPL ปีที่แล้ว +1

    How about finger movement? Currently, I can't find any solution on how to make a finger movement in Oculus VR. In the video I can only see 4 pre-defined poses. What if i want the character hands to behave exactly like the blue hands?

    • @1playfair
      @1playfair ปีที่แล้ว

      This was very difficult for me too man. The oculus hands for example are very complex. But basically are a blend tree with various animations attached based on parameters. I did successfully animate single fingers to do things but man it was a ton of work. In the end I just bought a very cheap collection of animations that I picked and chose a few that I really wanted for my game. They are damn near at the same timing as the oculus hands but move more realistically which is what I wanted. Good luck on yours man.

    • @XboxPlayerPL
      @XboxPlayerPL ปีที่แล้ว

      @@1playfair Yeah, i did the same thing. But the problem with this approach is this: there are finite hand animation that i can show to user, and there is some latency.

    • @TheIndieGamesNL
      @TheIndieGamesNL ปีที่แล้ว

      @@XboxPlayerPL
      using UnityEngine;
      public class HandIKPose : MonoBehaviour
      {
      [System.Serializable]
      public class Retargetable
      {
      public Transform source;
      public Transform destination;
      public Vector3 offset;
      public Retargetable(Transform source, Transform destination, Vector3 offset)
      {
      this.source = source;
      this.destination = destination;
      this.offset = offset;
      }
      }
      [System.Serializable]
      public class Finger
      {
      public Retargetable bone1;
      public Retargetable bone2;
      public Retargetable bone3;
      public Retargetable bone4;
      public Finger(Retargetable bone1, Retargetable bone2, Retargetable bone3, Retargetable bone4)
      {
      this.bone1 = bone1;
      this.bone1 = bone2;
      this.bone1 = bone3;
      this.bone4 = bone4;
      }
      }
      public Retargetable wrist;
      public Finger[] fingers;
      // Update is called once per frame
      private void FixedUpdate()
      {
      for (int fingerIndex = 0; fingerIndex < fingers.Length; fingerIndex++)
      {
      Finger finger = fingers[fingerIndex];
      //finger.bone1.destination.localRotation = finger.bone1.source.localRotation;
      finger.bone1.destination.rotation = finger.bone1.source.rotation;
      finger.bone1.destination.Rotate(finger.bone1.offset);
      //finger.bone2.destination.localRotation = finger.bone2.source.localRotation;
      finger.bone2.destination.rotation = finger.bone2.source.rotation;
      finger.bone2.destination.Rotate(finger.bone2.offset);
      //finger.bone3.destination.localRotation = finger.bone3.source.localRotation;
      finger.bone3.destination.rotation = finger.bone3.source.rotation;
      finger.bone3.destination.Rotate(finger.bone3.offset);
      //finger.bone4.destination.localRotation = finger.bone4.source.localRotation;
      finger.bone4.destination.rotation = finger.bone4.source.rotation;
      finger.bone4.destination.Rotate(finger.bone4.offset);
      }
      //wrist.destination.position = wrist.source.position;
      //wrist.destination.localRotation = wrist.source.localRotation;
      }
      }
      here you go mate align them over your rigs hands then remove their meshes if setup right it will follow every hand animation i use this for my zombie survival dayz vr clone you can use it if u like i found it long ago(it should be placed on each hand (left and right) it takes quite some effort to setup as you have to align the offsets by hand till it follows the original hands

  • @saniyeekinci
    @saniyeekinci 6 หลายเดือนก่อน

    ayaklarım yerde kalıyor çok geç geliyor ve karakterim oturuyor yerde onu nasıl düzeltebilirim

  • @kelpez
    @kelpez ปีที่แล้ว +1

    It doesent even work for me. the whole model is like 500 feet in the air and when I try and put it where i need it all it does is not follow the same head position of the camera and Im getting like 400 errors

    • @Nnadi_II
      @Nnadi_II ปีที่แล้ว +1

      me too i hope he can address this

  • @TheScienceIsReal
    @TheScienceIsReal 6 หลายเดือนก่อน

    How would one go about making the arms stretch to match arm length of user?

  • @seligmanventuresglobal8858
    @seligmanventuresglobal8858 ปีที่แล้ว +1

    Great video, but when I grab objects with a straight hand, the arms arent long enough. Spent all last night trying to work around this but nothing worked (including increasing the bone scale). Any ideas?

    • @nando5487
      @nando5487 ปีที่แล้ว

      have you figured it out? cuz I have same issue

    • @ZOneNOnlyGaming
      @ZOneNOnlyGaming 11 หลายเดือนก่อน

      You could try limiting the distance that its possible to pick things up to match the length of the characters arm when fully extended. That way, if that characters arm can't reach it, it can't pick it up

  • @Not_real_channelsss
    @Not_real_channelsss 8 หลายเดือนก่อน

    do you think you can help. for some reason my model just goes down and does the splits and everything else works but my model just goes down and does the splits and its just ruining it.

  • @SavAndOak
    @SavAndOak ปีที่แล้ว +1

    For some reason when i test it my camera is stuck by the legs can anyone help?

  • @korikupo7248
    @korikupo7248 ปีที่แล้ว

    So I am trying to use this with the physics tuts and for some reason the hand are not conected with the body and still want to not move to the points and when I try to move the hand they start rocking back and forth

  • @poupiw
    @poupiw 9 หลายเดือนก่อน

    Is it possible with this setup to make it like in your old video How to Make Physics Hands in VR and have hands not go through physical objects ?

  • @pizza5269
    @pizza5269 7 หลายเดือนก่อน

    Hi, could u help me with animation inputs and XR rig from VRIF? It doesnt work. I did all steps from your video but this last part I cannot make it possible

  • @Varrox
    @Varrox ปีที่แล้ว +1

    The walking animation does not work, I followed everything correctly and it still does not work. I know it is the IK Foot Solver being the problem since when I disabled it, the ik for the legs worked

    • @kneallian
      @kneallian ปีที่แล้ว

      where did you find the foot solver? i cant see it

    • @Varrox
      @Varrox ปีที่แล้ว +2

      @@kneallian it's the google drive file in the description

    • @Stoleyourgirlbozo
      @Stoleyourgirlbozo ปีที่แล้ว

      I have the same thing did you figure it out

    • @Varrox
      @Varrox ปีที่แล้ว

      @@Stoleyourgirlbozo yeah I did, it's the unity version, you need to use the same as valems in this tutorial

    • @Stoleyourgirlbozo
      @Stoleyourgirlbozo ปีที่แล้ว

      @@Varrox oh all I had to do was import the whole thing (I was only using the script) And re adjust then step distance

  • @feral.rage.studio
    @feral.rage.studio 3 หลายเดือนก่อน

    That is amazing, but is there any chance you make some tutorial for VRIF please ?

  • @MistyVR5678
    @MistyVR5678 9 หลายเดือนก่อน +1

    weres the ik foot solver script

    • @qis2999
      @qis2999 8 หลายเดือนก่อน

      there is a drive link in Description

  • @UXDesignTech
    @UXDesignTech 11 หลายเดือนก่อน

    What about the blue hand models? Where did you get those and did you do any pre edits to them before incorporating them?

    • @Shiffo
      @Shiffo 9 หลายเดือนก่อน +1

      Those are the standard hands included in the oculus sdk i believe

  • @PrismX_8
    @PrismX_8 4 หลายเดือนก่อน +1

    How do i calibrate the height to me the same as me?

    • @GadREKT
      @GadREKT 4 หลายเดือนก่อน

      Hey did you find a solution?

    • @PrismX_8
      @PrismX_8 3 หลายเดือนก่อน

      @@GadREKT no sadly i looked everywhere for a solution even chat gpt

  • @BlueBit09
    @BlueBit09 ปีที่แล้ว +1

    which video did you make the FootSolver in?
    edit: nvm I am dumb.

    • @hazelyokouji2005
      @hazelyokouji2005 ปีที่แล้ว +3

      can you help? i cant find foot solver , edit : nvm i am dumb too

    • @mhdnaderlabbad5887
      @mhdnaderlabbad5887 ปีที่แล้ว

      where did you get yall the code from ?@@hazelyokouji2005

    • @hafsa8010
      @hafsa8010 8 หลายเดือนก่อน

      where did u find it guys
      @@hazelyokouji2005

  • @scrabble567
    @scrabble567 10 หลายเดือนก่อน +1

    I cant find bone renderer or two bone ik or anything

    • @scrabble567
      @scrabble567 10 หลายเดือนก่อน +2

      i didnt install animation rigging lmfao sorry

  • @flixthedev
    @flixthedev 9 หลายเดือนก่อน

    How do I do this on the Valve Index, with the hand animations

  • @MHKart2000
    @MHKart2000 3 หลายเดือนก่อน

    Fingers doesn't work for me ! Binding Warning Alert is Showing in Animator Component. How can I Fix it?

  • @TikkaQrow
    @TikkaQrow 9 หลายเดือนก่อน

    Do one but with attaching avatar hands to SteamVR plugin

  • @paulemsley9658
    @paulemsley9658 6 หลายเดือนก่อน

    when i make this avater walk around, the body and any held grabbables jitter very badly. any ideas?

  • @AudenClifford
    @AudenClifford 9 หลายเดือนก่อน

    how did you make it so that the geometry of the model's head is invisible to you? I can't see anything past the inside of my model's eye socket. I can see through most of the head because it's mostly backfaces, but there are certain spots that can be seen by the camera. I tried moving the head offset so the camera was outside the head's geometry and now the rig swings around wildly when I turn my head and my model's arms don't reach the full extension of my controllers.

    • @TikkaQrow
      @TikkaQrow 9 หลายเดือนก่อน

      In the Main Camera, you'll find a setting called 'Clipping Planes' Set the value labeled as 'Near' to a larger number than 0.01. A value of 0.1 removes all geometry within 10 centimeters of the camera. A value of 1 removes all geometry within 1 meter.

  • @HarshaRajendranHarsha
    @HarshaRajendranHarsha 9 หลายเดือนก่อน

    Hi I am facing a similar issue. The upper hands, the face torso Upto the hips are working great. The legs seem to be in air for sometime and then it begins to fold completely near the origin ( I.e the spot where the AVATAR was there prior to pressing the play button ). and have bent knees at 90 degrees far away from the origin. I am Having issues with the legs. Initially they float horizontally and later they bend in a slow manner. And the knee leg doesent lift when I lift my legs here. It got them to move front, back and towards the sides. Help me please. It’s quite urgent actually.

  • @KillerForEver49
    @KillerForEver49 5 หลายเดือนก่อน

    Hi,
    I try to do as he said but when I trying to implement IK foot solver there is no walking annimation and me foot start on origin point Someone have a idea why ?

  • @hasnomoney1800
    @hasnomoney1800 ปีที่แล้ว +1

    So I have an issue where if I I use the animator with the avatar bone setup that the hands won’t fallow the hands position(stuck in unity default animation) . But when I take off the avatar bones off the animator it would be perfectly fine

    • @sivasakthinataraj4447
      @sivasakthinataraj4447 ปีที่แล้ว

      me too the same issue.

    • @hasnomoney1800
      @hasnomoney1800 ปีที่แล้ว

      @@sivasakthinataraj4447 I fixed my issue by doing two things. updating unity from 2019 to 2022. The second thing is I reimported the model under a differnt name and replaced the prefab I already made. I don't know which one of those things fixed it.

  • @GorillazVr23
    @GorillazVr23 6 หลายเดือนก่อน

    help when i play my game my character just floats above the vr hands and it dosent stand up strait

  • @craftychaosmc
    @craftychaosmc ปีที่แล้ว

    i got everything working but i have a pretty long wingspan and the character models arms don’t reach the length of my arms how do i fix this

    • @ugochukwunwankiti6030
      @ugochukwunwankiti6030 ปีที่แล้ว

      @DannyboyRust please have you found a solution to this? I'm facing the same thing

    • @SkizzGT
      @SkizzGT 10 หลายเดือนก่อน

      same
      @@ugochukwunwankiti6030

  • @shantistieglitz8355
    @shantistieglitz8355 ปีที่แล้ว +1

    Did the entire thing and got stuck in the hand animation part!
    I don't seem to have the same "Input action reference" assets in my project as shown in the video (i updated open xr)
    and none of the ones i place in the "animate on input"script seem to work

    • @Zofia21
      @Zofia21 ปีที่แล้ว

      hey, I have the same problem. Did you @shantistieglitz8355 managed to solve it?

    • @shantistieglitz8355
      @shantistieglitz8355 ปีที่แล้ว +1

      @@Zofia21 No actually, i did a messy workaround...

  • @karenkarolina9815
    @karenkarolina9815 ปีที่แล้ว +1

    It works with PUN2?

  • @torontogamestudio2991
    @torontogamestudio2991 ปีที่แล้ว +16

    Too many missing steps in this video. The Legs do not walk, the character does not say inside the hands. This should of been a detailed video instead of being sped up. Such an important topic, such a shame it fell short. I even paid for a subscription for the files but still can't get this thing to work *shrugs*

    • @Batwing_99991
      @Batwing_99991 9 หลายเดือนก่อน +2

      Worked fine for me, if you need help, I'm here.

    • @HarshaRajendranHarsha
      @HarshaRajendranHarsha 9 หลายเดือนก่อน

      Hi I am facing a similar issue. The upper hands, the face torso Upto the hips are working great. The legs seem to be in air for sometime and then it begins to fold completely near the origin ( I.e the spot where the AVATAR was there prior to pressing the play button ). and have bent knees at 90 degrees far away from the origin. I am Having issues with the legs. Initially they float horizontally and later they bend in a slow manner. And the knee leg doesent lift when I lift my legs here. It got them to move front, back and towards the sides. Help me please. It’s quite urgent actually.

  • @TheScienceIsReal
    @TheScienceIsReal 6 หลายเดือนก่อน

    For some reason the head of my character is going to the feet (where my camera is). Basically the head is right on the camera but the rest of the body isn't following it. Any ideas?

    • @TheScienceIsReal
      @TheScienceIsReal 6 หลายเดือนก่อน

      nvm it was just an offset problem i see

  • @Neepo1220
    @Neepo1220 ปีที่แล้ว

    Whenever I start the game my model always looks to the left of instead look straight like the camera. How do I fix?

  • @saikatpatra9365
    @saikatpatra9365 11 หลายเดือนก่อน

    Second Float always NaN - Blend Tree both Left and Right Hand Layer..... Occurs only Unity 2022.3.xx...please give one solution

  • @nctrnesky2037
    @nctrnesky2037 6 หลายเดือนก่อน +1

    HElp mee, i have problemm with the head vr target and head ik target...i followed every step but when i hit play, the camera was on the character chest instead of being in the eye level of the player. I tried to move the head vr target, head IK target, even the main camera to the eye level but the camera didnt move to the desired position, the character body moves up instead. Anyone please help me ASAP T^T Thank youu

    • @AbhijitPatil-s7e
      @AbhijitPatil-s7e 5 หลายเดือนก่อน

      yo did you find an ans to this ?
      i am facing the same problem

    • @nctrnesky2037
      @nctrnesky2037 5 หลายเดือนก่อน

      @@AbhijitPatil-s7e i found out how, and it works. but when i try to do the same to the character in other scene, it doesnt work again T^T. what i did was change the pivot of the head target to center. i also change the tracking position offset for the head under IK target follow VR rig. or u can try change the tracking origin mode to floor under XR origin game object. i dont know which one will help you but i hope it helps. goodluck