Full Body Physics in VR - Unity Boneworks/Bonelab Tutorial Part 2

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

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

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

    You are like the Brakeys of VR. Thank you, your concise tutorials are greatly helping me!

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

    Great video! are you going to make an updated full body IK tutorial in this series like seen in the thumbnail? and will there be jumping?

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

    Thanks for this new tutorial, such a useful series!

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

      Thanks mister picoplanet always a pleasure to see you here

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

    AMAZING VIDEO i really needed this

  • @TheEnchantedPickaxeHDGaming
    @TheEnchantedPickaxeHDGaming 7 месяцев назад +1

    So I've been following along with the video and here at 12:24 you said the code as is makes it so you can only turn and not move at the same time, but when I went to test it, it worked perfectly without the edited code, is this an artifact of the tutorial being slightly outdated or something else? If you have an answer I'd love to hear it, if not that's fine. Great video either way your videos have helped me learn the ropes of VR game design so quickly, thank you!

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

    Yay thanks for the video, i cant wait to follow i finally got Unity to show in my oculus

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

    Hellop guys, thank you Valem for your help, I may be able to develop my project thanks to you.
    I have a question : I have jittering when I move with the stick, did I miss something to avoid it ? Also I have no jittering when I climb or push myself !

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

      Did you ever manage to solve this? I am also have some jittering while moving. I found that if I change my maximum allowed timestep to 0.01 the jittering clears up, but that seems like asking for trouble any time the physics need to take a little longer to process

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

      @@steen_is_adrift what do you mean with timestep?

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

      @@natzos6372 Unity uses a Fixed Timestep for physics calculations, meaning the "frame rate" of the physics engine. You can set the fixed timestep under Edit -> Project Settings -> Time, as well as the maximum allowed timestep for when physics calculations are taking too long. I have abandoned trying to use the rig from this tutorial and instead purchased the hurricane VR body rig (which is fantastic I highly recommend it). The hurricane rig comes with a built in time managing script which will update the fixed timestep in real time to match the average frame rate. This is the perfect solution for VR. It seems like Valem has taken over as the new Brackeys style channel, meaning well produced easy to follow tutorials that will ultimately set you up for failure and cannot be used in any real production under any circumstances whatsoever.

  • @Uncle_dervus
    @Uncle_dervus 9 дней назад

    could you try making an tut about making like Half life alyx styled movment or veritgo 2 Styled movment or like the weapon select menu in half life alyx?

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

    Hi Valem,
    How i can make snap turn? In video we have only continuous turn

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

    Thanks for sharing! Can you show how to add a full body IK next please?

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

    Do you foresee developing a solution for hand physics that respond to weight? Your previous solutions used velocity to create hand physics as opposed to force.

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

    Thank you for another great video!

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

      Thanks for watching it ! 😄

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

      @@ValemTutorials With this much material, i feel like I have to start doing something. Do you know something that can simulate vr headset for unity? As I've forgotten my quest2 an won't be able to get it for about a month since i work abroad :/

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

    Hey Valem, great video! But I need help with one thing. If I use the movement system you showed us in your previous series, I can climb up stairs just fine. But using this syem, I totally lose that ability, my character is going against the stairs and just does not climb. Any suggestions?

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

    Great video. Just a question here . Will your vr body setup work on it ?Is there issues if try to combine ?

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

    does anyone know how the fix this error message: Assets\ContinuousMovementPhysics.cs(44,27): error CS0131: The left-hand side of an assignment must be a variable, property or indexer?

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

      I am having same issue

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

    Hello Valem. First, thank you so much for the great tutorials. I have an issue that I am sure I remember you mentioned how to fix in one of the videos but I couldn't find it going through the all again. When I click play, my player drops into the scene from the sky. How should I prevent this?

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

      make sure you have a collider on your character so it hits a collider on the environment

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

    Valem pls make tutorial hot to make npc like bonelab/boneworks

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

    Im having a problem where my meshhands are still clipping through but the physics hands arnt and are working fine, any solutions would be appreciated

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

    I tried to follow part 1 and 2 of this tutorial but when I tried to climb or collide with objects it bugs out and my hands go in the wall and when I hold an interactable I go flying? I'm coming directly from the how to make a VR game tutorial and I notice that your XR Origin parent has far less components then mine? what's up with that?

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

    hey when I do the coding for that and I test it it disables the walking and it doesnt work.

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

      Hey, did you manage to figure this out? I am having the same issue now.

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

    Great tutorial! Do you plan on making a tutorial for a body in the future?

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

    So does this maintain forces when running off a platform? won't setting the rigid position cause you to fall straight down when running off an elevated platform?

  • @Sati-SCV
    @Sati-SCV Год назад +2

    Hey i need help, the colliders are not with the hand :(

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

      Maybe they are stuck somewhere make sure that a collider is not in the way. Otherwise the solution is to teleport the hands if they are too far ! :)

    • @Sati-SCV
      @Sati-SCV Год назад +1

      Nevermind, I found out that the error was that i put the box collider in the wrong place (not in the physic rig), so it just went crazy :)

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

    11:30 I hope someone will create an AI that will visually represent the formula when writing such codes.. and also provide alternatives/suggestions.
    I really don't understand most of the code.. :))

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

      this aged well haha!

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

    did you know ultimateXR ? It's a pretty good sdk, but not really physics oriented :(

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

    Hey do you think you can make a tutorial on making a vr enemy? because a am making a rv physics game so this will really help.

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

      Would be nice to play pool and just swap VR headset or with one click swap enemy camera and control him :D

  • @FireBlast2.0
    @FireBlast2.0 Год назад +1

    I would love if you made a tutorial on a vr drivable vehicle ! with a steering wheel and openable doors too

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

    Do you know where is the link to the math?

  • @rarisninja461
    @rarisninja461 4 месяца назад +1

    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    public class ContinousMovement : MonoBehaviour
    {
    public float speed;
    public Transform p1;
    public Transform p2;
    public Rigidbody rb;
    private Vector3 targetposition;
    private void Start()
    {
    targetposition = p1.position;
    }
    // Update is called once per frame
    void FixedUpdate()
    {
    Vector3 = direction = (targetposition - rb.position).normalize;
    rb.MovePosition(rb.position + speed * direction * Time.fixedDeltaTime);
    if(Vector3.Distance(rb.position,targetposition) < 0.05f)
    {
    if (targetposition == p1.position)
    targetposition = p2.position;
    else
    targetposition = p1.position;
    }
    }
    }

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

    Esque tes français ?

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

    it's not a tutorial if you just show yourself coding with almost no explanation of how anything works.

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

      You’re just not listening properly.I recommend slowing the video down. It was a bit confusing

    • @techweasel
      @techweasel 8 месяцев назад +1

      That just means you are in over your head, you need to learn more basic coding before you try to figure out vr and complex systems. I personally love how fast he moves, most tutorials are targeted at beginners and are way too slow.

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

      he does tho

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

    The colliders don’t folly my hands they have an offset for some reason

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

      Set the configurable joint anchor to zero,zero,zero