How I Created Gorilla Tag Movement in Unity

Sdílet
Vložit
  • čas přidán 1. 11. 2021
  • Wishlist Project Impulse on Steam: store.steampowered.com/app/19...
    Discord Link: / discord
    David Wu's Paper: bit.ly/31dPIpd
    I'm going to be showing how I did my physics based hands and climbing for my upcoming game. I used David Wu’s Stable Backwards PD Controller to control the hands movement and rotation also known as a PID controller. I then used Hooke's law to create springs for the players climbing locomotion.
  • Jak na to + styl

Komentáře • 50

  • @TrentSterling
    @TrentSterling Před 2 lety +5

    Your previous video on climbing in VR was helpful. This is just .... Amazing!
    I've been working with HurricaneVR asset as it handles a lot of this stuff out of the box... But the climbing is very boneworks and bouncy.
    Looks like I need to strip things down and re-attack this problem.

  • @gamingscoobs1133
    @gamingscoobs1133 Před 2 lety +2

    your a genius thank you i want to get in to building games and i love your cahannel

  • @colliemollie
    @colliemollie Před 2 lety +2

    😲 This is amazing!!!

  • @SephirothinLEGO
    @SephirothinLEGO Před rokem +1

    this really helped clear up some questions i had from justins tutorial, also a lot of great helpful comments here.

    • @DonionTech
      @DonionTech  Před rokem

      Glad I could help! Ya Justins video is great for beginners doesn't go into much detail regarding the principals.

  • @jackboback2721
    @jackboback2721 Před rokem

    oh my god I whould love to use your movement system in my game, it looks amazing!

  • @halbzwilling
    @halbzwilling Před 2 lety +2

    Instant watch and instant reward! Love these! Thank you for the content! ❤️

    • @halbzwilling
      @halbzwilling Před 2 lety

      working on something similar, thanks for this insight on the topic that makes my brain explode!

    • @DonionTech
      @DonionTech  Před 2 lety +1

      @@halbzwilling Still blows my mind as well youre not alone lmao

    • @halbzwilling
      @halbzwilling Před 2 lety +1

      @@DonionTech feels good not to be alone in this math hell 🔥😌🔥
      Wish you the best!

  • @DonionTech
    @DonionTech  Před 2 lety +1

    I would like to clarify some things. Set your hands rigidbodies max angular velocity to infinity the default is really low and will fell sluggish. You only really need to change the inertiaTensor if you're effecting other rigidbodies so if your hands feel like they aren't strong enough play around with it.
    Another thing I forgot to mention is make sure the rigidbodies are set to interpolate and continuous collision detection for the best results.

    • @larryart2667
      @larryart2667 Před 2 lety

      You mean replace 'rb.AddForce(force, ForceMode.Acceleration)' to 'rb.inertiaTensor=force'?

    • @DonionTech
      @DonionTech  Před 2 lety +1

      @@larryart2667 No in the start method you can set rb.inertiaTensor = new Vector3(0.008f, 0.008f, 0.008f) for example

    • @larryart2667
      @larryart2667 Před 2 lety +1

      @@DonionTech Thank you! It worked! Appreciate you reply!

  • @zhaolabs
    @zhaolabs Před 2 lety

    SUPERB

  • @ProdbyNaz934
    @ProdbyNaz934 Před 2 lety

    The locomotion is actually free for anyone! No coding!

    • @DonionTech
      @DonionTech  Před 2 lety

      This movement system is for physics based VR games. Gorilla tags actual movement is pretty limited. Youll need to code if you wanna make any type of game!

    • @ProdbyNaz934
      @ProdbyNaz934 Před 2 lety

      @@DonionTech I didn't mean it that way, yeah you will need coding I agree.

  • @metamellvr6547
    @metamellvr6547 Před 2 lety

    Justin p Barnett got me here your work is great my guy

    • @DonionTech
      @DonionTech  Před 2 lety

      Thanks! I'm glad you liked it more coming soon

  • @drswiftbot6763
    @drswiftbot6763 Před 2 lety

    Finally gorilla tag with guns

  • @reubenmcqueen5391
    @reubenmcqueen5391 Před rokem

    Hi Donion, How did you go about grabbing and holding onto walls with the Gorilla Tag style movement?

  • @jehanzeb11
    @jehanzeb11 Před rokem

    Do you think there is anyway to do this using character controller instead of rigidbody on the actual player? Also awesome video tutorial

  • @tylerdurden6917
    @tylerdurden6917 Před rokem

    How do u make a multiplayer game In general tho? & how to make reliable servers

  • @larryart2667
    @larryart2667 Před 2 lety +2

    Hello, Resourceful tutorial! Few questions, how much did you set your climbForce and climbDrag?

    • @DonionTech
      @DonionTech  Před 2 lety +1

      climbForce is 280 and climbDrag is 6

  • @eff3ry
    @eff3ry Před rokem

    What values did u use for the climbforce and climbdrag?

  • @Emanes32
    @Emanes32 Před 2 lety

    What is the advantage of using this method instead of some simple solution like setting the velocity to the target rigid body based on the difference vector Vector3 v = (transform.position - holdingTarget.transform.position); holdingTarget.velocity = v / Time.fixedDeltaTime; and then some quaterinon stuff for rotation?

    • @DonionTech
      @DonionTech  Před 2 lety

      That approach does work but its just less physically accurate . I found this way to be a lot more fun. The throwing is better, you can limit the strength and overall you just have more control.

  • @epdobbs.
    @epdobbs. Před 2 lety

    can you do a turtorial?

  • @laurens8069
    @laurens8069 Před rokem +2

    Intreseting video! However, doesn't this violate Newton's third law? If you move your hands forwards, your hands should exert a force of equal magnitude back on the body in the opposite direction. The force you move your hands with is controlled by David Wu's PID Controller, but the force applied on your body is calculated using Hooke's law. So these forces will almost never be equal. Doesn't this mean that if your hands can collide with your body (or if you grab something that can collide with your body), and push against yourself, you'd actually push yourself backwards or forwards?

    • @DonionTech
      @DonionTech  Před rokem

      Yes youre correct but in the goal of creating fun movement I had to sacrifice realism. The way that I circumvent the issue of object pushing on the player is by disabling collision between the player and the grabbed object. But that would mean objects can go through the player so hidden under the dynamic colliders are kinematic colliders. Its a really janky system but it works for my purposes.

  • @TacoMax2011
    @TacoMax2011 Před 2 lety +2

    how/where do you get the PID movement code/script without having to type it in

  • @fuseshot7983
    @fuseshot7983 Před 2 lety

    how do you use rotation without getting insane speeds

    • @DonionTech
      @DonionTech  Před 2 lety

      What do you mean rotating like snap turning ? I've never had an issue with turning causing insane speed

  • @LemonDeveloper
    @LemonDeveloper Před rokem

    can u show how to make the guns?

    • @DonionTech
      @DonionTech  Před rokem

      There is too many ways to do weapons and showing my way wouldn't be beneficial. I would look at weapon videos that already exist and build yours based on your games needs.

  • @Marssss627
    @Marssss627 Před 2 lety +1

    what is this game and i wanna try it

    • @DonionTech
      @DonionTech  Před 2 lety

      The game is called project impulse and you can find it on steam. You can also join the discord link in the description to get exclusive updates about the game 👍

    • @Marssss627
      @Marssss627 Před 2 lety

      @@DonionTech Alright thanks man.

  • @Jamesfart123
    @Jamesfart123 Před 2 lety +1

    i want to play it AAAAAAAAAAAAAAAAAAAA

  • @BlackSantaVR
    @BlackSantaVR Před 2 lety

    hello there! I need some help ive tried making a gorilla tag locomotion movement game in unity but failed many times im asking u to do me a favor please. Could u try making me a gorilla tag locomotion movement game that works for free and then send me the project? please that would be awesome. Hope u say yes bc i asked everywhere

    • @DonionTech
      @DonionTech  Před 2 lety +1

      It'll be much more satisfying if you figure it yourself. If you're newer to unity I would suggest working on smaller 2d games first then move on to 3d and VR. If you need any help check out the discord!

    • @BlackSantaVR
      @BlackSantaVR Před 2 lety

      @@DonionTech but can u put the game on itch io so that we can test it? I really wanna play ur game! I love it.

    • @DonionTech
      @DonionTech  Před 2 lety +1

      I'm just about finishing up the demo if you join the discord you'll be updated check the description 👍

  • @monkey199vr
    @monkey199vr Před 2 lety

    flip off of gorilla pad

    • @DonionTech
      @DonionTech  Před 2 lety +2

      Last time I checked gtag doesnt have guns, legs, physics or sliding!