Full CLIMBING SYSTEM in 10 MINUTES - Unity Tutorial

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

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

  • @kenan-nynor
    @kenan-nynor 9 месяцев назад +4

    For cleaner code, dont reference the climb script in your playermovement script, but make a new bool in your playermovement script and reference that in your climbingscript for the exiting state. That way your playermovement script works without the climbscript attached to your player.

  • @johncomedia
    @johncomedia 2 года назад +40

    Friendship has officially ended with Dani's Tutorials, all my homies like Dave now lol. You are amazing! The code is so clean and professional!

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +9

      Haha rip Dani, thank you so much! :D

    • @blazing1887
      @blazing1887 2 года назад

      @@davegamedevelopment Hey! Can you please make a video on making the Vortex Shield from Titanfall 2 please? For more details, you can search "Vortex Shield in Titanfall 2" on RUclips. Please reply.

  • @Boxply
    @Boxply 2 года назад +17

    Just to be straight forward and honest. You are the best tutorial channel after Brackey's leave. No joke. Quick and straight to the point tutorials with high quality editing. Gj

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +3

      Thank you so much! Hearing that really means a lot to me!

    • @onlyskilledpeople9562
      @onlyskilledpeople9562 2 года назад +3

      To be honest i guess he is Brackey's 🤷 maybe I'm wrong

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

      Lol he is Brackery, i tought i was on Brackeys channel first, but its Brackey u can hear it :D

  • @SerasYT
    @SerasYT 2 года назад +21

    I’ve recently gotten into learning unity and these videos have been a godsend!
    Thank you for these guides, and I can’t wait to try this out when I get home

  • @shpeck_
    @shpeck_ 2 года назад +4

    Your videos are short and straight to the point and the visual explanations help a lot! Probably the best first person parkour character controller in free access!

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

    I was stuck on a proper wall climbing in my game for so much time like 2 months or so(I'm a noob dev) and you helped so much. Thank you.

  • @hypercharge26
    @hypercharge26 2 года назад +3

    Let's gooo! Next tutorial - grappling?

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +2

      Sometime soon yes, probably not the next one though :D

    • @hypercharge26
      @hypercharge26 2 года назад

      @@davegamedevelopment ohk no problem! I'm following the whole series step by step! Thanks for these.

  • @akhilsharma507
    @akhilsharma507 2 года назад +2

    I just wanted to say thank you so much, your tutorials are the only ones that work and im really thankfull

  • @shiiroitori5403
    @shiiroitori5403 2 года назад +7

    I kept having problems with the Sphere Cast's direction when going towards the wall, as it always was way too far to the right. I managed to find something that fixed it. Here's the fix if anyone is having this similar problem:
    wallFront = Physics.SphereCast(transform.position, _sphereCastRadius, (Pos.transform.forward - Pos.transform.Right), out frontWallHit, detectionLength, isWall);
    Just remember to change the variable names to those that you have in your project haha. I couldn't explain how this ended up working too well, and it might be broken in the future but it functions well enough for me right now haha.

  • @g3o497
    @g3o497 2 года назад +3

    Man your videos helped me a lot thanks for pushing us closer to our goals with every video

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

    Highest quality tutorials out there, thank you so much sir

  • @s..y
    @s..y 2 года назад +2

    All your tutorials are amazing!

  • @NFZer0
    @NFZer0 2 года назад +2

    Excellent content! Subscribed - fyi, love your state system management, very clean. I think I am going to start doing this same thing for my scripts as well. :)

  • @bobbville
    @bobbville 2 года назад +1

    Thanks for the vid! I'm taking all tips from the pros like yourself for my channel! Your vid editing skills are everything lol 😆 cheers! 🍻

  • @hcmcyclops
    @hcmcyclops 2 года назад +4

    This guy is such a lifesaver!!

  • @lslhbeats3429
    @lslhbeats3429 2 года назад +3

    I dont think you understand the level of influence your tutorials have on new unity devs, anyways keep up the amazing work!

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +1

      Thank you so much, really appreciate it :D

    • @lslhbeats3429
      @lslhbeats3429 2 года назад +1

      @@davegamedevelopment ofc man! if u want u can check out the videos i posted to my channel of a game i am making using ur tutorials:)

  • @anj_10
    @anj_10 2 года назад +2

    I was trying to make a spider man game but there was no climbing tutorial and you have one your the best thx

  • @alexx4450
    @alexx4450 2 года назад +1

    If someone is having problems with getting stuck on edges on the top of the walls, add a non friction physics material to your player collider, also the non friction physics material on walls can help too, that way you will just slide past the edge.

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

      I will try this

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

      Also adjusting the sphere radius helps even better

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

      @@alexx4450 I seem to just get stuck on the wall and I can't move past it, I've changed the radius and speed but I just can't vault over the wall, what could be wrong?

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

      @@AnmolTheSage try changing the air resistence on your player

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

    I love this tutorial.It's really helpful.Thank you so much!!

  • @dec_ves2190
    @dec_ves2190 2 года назад

    works really good on my movement code :) thanks!

  • @MrJwoody55
    @MrJwoody55 2 года назад +1

    Amazing tutorial!

  • @rattling
    @rattling 2 года назад +2

    straight up G

  • @omarrxd1
    @omarrxd1 2 года назад +2

    pls make a tutorial above this project about gun system please + you are a legend 🖤🖤🖤

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +1

      Yeah I'll probably do something with projectile gun systems soon :D

  • @mamut_chino2419
    @mamut_chino2419 2 года назад +1

    you are as if god came to earth as a person

  • @fulconini
    @fulconini 2 года назад +1

    blackthornprod sounding dude

    • @Dorbellprod
      @Dorbellprod 2 года назад

      I do not hear any resemblance lmao 🤨

  • @westron7257
    @westron7257 2 года назад +1

    Thank you Dave

  • @jhonyfir
    @jhonyfir 2 года назад +1

    Amazing!

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

    hay dave I know this videos like 2 years old but have ya seen the new unity 6, it looks fire. (also ty for your tutorials)

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

    Hi Dave, amazing tutorial! It really helped me out and I really appreciate it! I have just one little thing to ask, do you have more in-depth tutorials that explain precisely how this system works? Oh and one last thing, it's not such a big deal and sorry to bother you... But could you slow down a little bit? I had some trouble understanding stuff. Either way, you are an amazing person! Thanks a lot!

  • @zbeb118
    @zbeb118 2 года назад +3

    Adding momentum based vaulting would be cooler in my opinion, as it doesn't stop the players momentum and keeps the game "alive". Would you have any idea on how to implement this instead of resetting the players velocity?
    Great video anyways.

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +3

      Actually started working on this today, maybe I'll upload a tutorial sometime soon :D

    • @zbeb118
      @zbeb118 2 года назад

      @@davegamedevelopment Glad to hear that :)
      Keep up the great work!

  • @mazenhassan2011
    @mazenhassan2011 2 года назад +1

    Great video maan, but is there a climb mechanic using character controller rather than rigidbody '?

  • @IljaLammeretz
    @IljaLammeretz 2 года назад +4

    I've been following this tutorial, but I do not want wall running and wall climbing. But now there is a problem that the player gets stuck against the wall and I could not find a good way to fix it. (The internet says using a frictionless ground, but slopes then do not work.) Do you have any idea how to fix this?

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +4

      Dupicate the capsule collider of the player, then give the second one a slightly heigher range (width), but a lower height.
      If you now add a frictionless physics material to it, the players body won't have any friction, but the players feet will, which is exactly what you want :D

    • @IljaLammeretz
      @IljaLammeretz 2 года назад +3

      @@davegamedevelopment But when I walk into the wall, I still do get stuck against the wall, do you have any other idea how to fix this.

  • @mrbutwhyme9941
    @mrbutwhyme9941 2 года назад +2

    Hey man great tut...can you make a tutorial on making a karlson style katana...please make it look the same I am making a parkour game so it will help..

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

    pls help. why does my player completely stop when trying to vault over a wall, like it goes up but i just go in the air and cant move plus sometimes i get stuck on the wall.

  • @huydpchai2975
    @huydpchai2975 2 года назад +4

    Assets\Idunno\Huy\Climbing.cs(10,12): error CS0246: The type or namespace name 'PlayerMovementAdvanced' could not be found (are you missing a using directive or an assembly reference?)
    what is this errror and how to fix it guy

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +1

      Do you have my player movement script? It's kind of needed for this tutorial, you can use your own movement code, but then the variable is not going to be of type PlayerMovementAdvanced

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

      @@davegamedevelopment Where can i find it?

  • @jordanpaz7489
    @jordanpaz7489 2 года назад +4

    For some reason, my player is stuck on the wall and cannot climb upwards. I tried adding a frictionless physic material to the player and editing it's collision box but no luck. I have also tried increasing climb speed etc. Does anyone know why this is happening?

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

      @jordanpaz7489 did you change the collision layer of the wall? I made that mistake :D

  • @Mlogan-
    @Mlogan- 2 года назад +3

    I want to keep my walls and ground on the same layer to avoid hastle when it comes to level making, however this makes it so when reaching the top of a wall, if i press space at a certain time the climbing jump and the normal jump combine (I think) causing my player to launch into the air, also if you jump at a certain angle while wall climbing the wall run jump and the climb jump (again, I think) cause you to be launched is there any fix for there issues? :)
    Edit: for the first issue, the problem is that when you are vaulting onto the ledge and click space those forces combing, I dont know how to fix this but I thought id point it out
    Edit2: I'm also having issues with sliding up slopes and jumping
    (I understand the way this works is that its supposed to have seperate ground and wall layers, but I'm just wondering if theres a way to combine the two)

  • @Aaron-vn5fd
    @Aaron-vn5fd 2 года назад +1

    WHY DO THESE VIDEOS NOT HAVE MORE VIEWS

  • @hrize
    @hrize 2 года назад +2

    Hi Dave, nice vid as always. There is a little problem after implementing climbing. Now when I slide into a slope and press jump I fly straight into the stratosphere. Maybe the jump force and the climb jump force are combining? If you know the way to fix it I'll really appreciate your help on the issue.

    • @hrize
      @hrize 2 года назад

      Nvm. Fixed it by adding more restrictions to climb jump.

    • @RealBlueWolf
      @RealBlueWolf 2 года назад

      @@hrize was about to say, as long as the slope doesent have the layermask for wall thats not possible xD

  • @ItsJordonSC
    @ItsJordonSC 2 года назад +1

    Hello! I was wondering if you were planning to make a tutorial on vaulting over ledges when jumping with this first person controller! If you see this I would love to know if you plan on doing it

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +1

      Yes I'm probably doing that, even started coding it :D

    • @ItsJordonSC
      @ItsJordonSC 2 года назад

      @@davegamedevelopment Awesome! Can't wait

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

    This is so good i feel bad using it

  • @lTeridaxall
    @lTeridaxall 2 года назад

    Thanks a lot Brac-------- I mean Dave! Helpful as always. What would you suggest to people who arent well versed in C#. What courses would be the best suited to learn C# for specifically game development. Another question i have is, how do you prioritize the game development stages. Is there brainstorming before coding? Do you work on the terrain first, or the fundamentals? Thanks again!

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +2

      For learning C# I recommend the basic C# Tutorials from Dav-------- I mean Brackeys. And yes, brainstorming is a crucial part to developing any code. I recommend thinking of some ability or function you want to code, then writing down how it should work and then you only need to "translate" what you wrote to C# code. And I always work on functionality first, before I add fancy terrain and graphics :D

  • @ThirdEyeStudios.
    @ThirdEyeStudios. 2 года назад +1

    im having problems with the "public AdvancedPlayerMovement pm;"
    error code: The type or namespace AdvancedPlayerMovement could not be found

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

      use the name of whatever came before " : MonoBehavior" on your main script

  • @birkmortensen9841
    @birkmortensen9841 2 года назад +1

    How The Hell do you do get that box were you can change Thise things like you do in 4:53 I cant even do a thing in this anymore and i am just trying to learn programming and nothing works. Only way i can get that box is to download the asset and drag it into unity. It will not work when i just copy and paste the text into visual code studio and i save it.

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +1

      In Unity all Windows can be closed, opened and moved to wherever you like. If you accidentally closed the inspector, just go to Windows -> Inspector and move it anywhere you like :D
      Or if it's some problem with errors you have, just Download the project file over my discord server and see how everything is set up

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

    Now... how can one apply this to trees and boulders rather than flat falls?
    In my game the player is a cat living in a cat society that learns advanced fighting and hunting tactics. I would like them to be able to leap from the ground to a tree trunk and, if they have the skill, parkour from that space to another like another tree trunk or a boulder - or barrel into another cat they are fighting after leaping off the tree/boulder in this parkour fashion.
    I have no idea how to create a game but oftentimes I am too ambitious for my own good XD

  • @bullshyte4318
    @bullshyte4318 2 года назад +1

    If I try to climb a corner if it´s inner or outer, I can climb more than the maxClimbJumps. Is it only me? And when I come in contact with a wall, the player just stops(when not climbing).
    used this, slope movement and first person movement.

  • @mhd3117
    @mhd3117 10 месяцев назад

    you awesome man thanks a lot i will subscribe and give you like also thanks for the script it is not working but i will fixed thaaaaaanks

  • @zNicoRxsh_
    @zNicoRxsh_ 2 года назад

    Hi one question The first person movement work all so with controller?

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

    hi can I use this if I have not got a player I just use XR organ for vr

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

    Could you tell me what the orientation Object of yours is? I have none. Ihave Third Person View but only the Player object with cinemachine Camera.
    I just did only the climbing part but it wont work for me ^^

  • @Bleb1k_irl
    @Bleb1k_irl 2 года назад +2

    Hello! Nice tutor!
    Also you sound very echoey, I'm sure you know this, but would be nice to fix :)

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +1

      Thanks, and yeah, maybe I'll need to record in a different room :D

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

    Could I pleese have the advanced player movement script you used here. I folowed along with your other tutorials but I always mess up somewhere 😐. Your tutorials are awesome by the way.

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

    Hey Dave, whenever I press W, my player doesn't seem to vault over the wall, what could be the problem? I've tried changing the settings too

  • @jordanbrett8215
    @jordanbrett8215 15 дней назад

    When i get to the top of the wall i just bounce and dont move forward? Can anyone help

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

    what is the orientation Object?

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

      Just an empty gameObject that you create as a child of the player

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

    I know its been 2 years, but I have some issues with launching off the wall after finishing climbing.
    Any solutions??

  • @ThePirateHistory
    @ThePirateHistory 2 года назад

    Can you please tell me how to make the movements like in the game "Project Sparrow"? There is:
    1) wall hops
    2) dash mid-air
    3) bunny hop
    and you can continuously do this until you lose momentum.
    Check highlights of "Project Sparrow", it's cummable

  • @smashbattle6969
    @smashbattle6969 2 года назад

    does this work with the back of the player?

  • @rabiehaddad1925
    @rabiehaddad1925 2 года назад

    Can you do it please for third person

  • @mitchcool7297
    @mitchcool7297 2 года назад

    Hi dave I am trying to use the code but it keeps coming up with an error "the namespace 'PlayerMovementAdvanced' couldn't be found" How do i fix that?

    • @Mlogan-
      @Mlogan- 2 года назад +1

      I had the same issue, the problem might be because you have a different name for your player movement script, if these are different then change in your code where it says "PlayerMovementAdvanced" to your actual script name (This is found at the very top beside "public class" just in case you were unsure) :D

  • @redfactionofficial
    @redfactionofficial 2 года назад

    Ive added this to my script, it all works fine, except when i jump off a wall, my char gets stuck in the ground (cant move anymore) i can still look around but i cannot move or do anything else after i landed.

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

    It says player movement advanced could not be found 😢😢

  • @tallasian1319
    @tallasian1319 2 года назад

    when i go to climb a wall i end up flying in the sky how do i fix that

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

    How do i make whatIsWall?

  • @SpiritualSteve
    @SpiritualSteve 2 года назад

    when i implement the climbing my wall running breaks and doesn't work. Anyone help?

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

    Where is the wall running tutorial?

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

    Climbing.cs(49,10): error CS1002: ; expected (my line 49) }

  • @sama6969
    @sama6969 2 года назад

    how can i change the amount of time that i can climb to infinite?

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

    climBING

  • @goofiestproductions
    @goofiestproductions 2 года назад +2

    junge bist du deutsch?

    • @davegamedevelopment
      @davegamedevelopment  2 года назад +1

      Bin in Deutschland geboren ja, wohne jzt in der Schweiz :D

  • @sketchycube9687
    @sketchycube9687 2 года назад +1

    you sound like brackeys🙃 wait.... what if you're the second brackeys?????

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

    wait you sound alot like brackeys

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

    One tiny bit of criticism is you speak and do things a little bit too fast. I've slowed you down to 0.75 and it doesn't seem like I've slowed you down.

  • @loninicole3743
    @loninicole3743 2 года назад

    Honestly, the link gave me a virus and now I dunno what to do.

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

      then you're an idiot and clicked the wrong link. Mediafire has ONE download button. DO NOT click anything else. smh

  • @brottopf2861
    @brottopf2861 2 года назад

    it dont work :(

  • @tas2k844
    @tas2k844 2 года назад +1

    I think using “rigidbody.velocity.sqrMagnitude.z > 0.1f” would be better than registering the w key because some bugs with you already pressing the w key could happen, just wanted to point that out, and thx for being an amazing content creator ❤️

    • @tas2k844
      @tas2k844 2 года назад

      Just wanted to say that I have modified your code to add vaulting, and thx 🙏

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

    It says player movement advanced could not be found 😢😢