How To Ledge Climb in Unity

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • Complete course on how to make 2D Platformer - bit.ly/ALEXDEV...
    Complete course on how to make Endless Runner - bit.ly/ALEXDEV...
    Subscribe for more videos and free tutorials - bit.ly/AlexDev...
    Cool videos :
    God of War's Axe mechanic in 2D - • God of War's Axe Throw...
    How I created Dead Cells - • I tried to create Dead...
    First game in 7 Days - • How I made My First Vi...
    Souls like 2D RPG playlist - • I guess I'm starting D...
    2D Platformer Series playlist - • Install Unity In 2022 ...
    Check how to do ledge climb in unity .
    #alexdev #devlog #indiegame #2dplatformer

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

  • @QihangQian
    @QihangQian 19 วันที่ผ่านมา +1

    I am a student at Udemy for rpg, and I really really like Alex and thanks him for opening a totally new door of game development, his high standard and extensible coding skill also makes me improve a lot, THANK YOU!!!

    • @unityalexdev
      @unityalexdev  19 วันที่ผ่านมา

      I'm glad you like it! Enjoy 😊

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

    That is a great way to do ledge detection I love it!!

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

    This is an amazaing way to check for ledge. I have been looking for a way to add ledge climb for a while, so this was a great help to me. Thank you!

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

    Thank you very much! I have been struggling to figure all of this out for so long. Using your base code and changing a whole lot, haha, I was able to convert it to work with my 3D fps. Thank you again very much. Subscribed.

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

      Glad it helped! Anything else you struggling with? I'll make a tutorial

  • @user-qp4bj3nn8y
    @user-qp4bj3nn8y 16 วันที่ผ่านมา

    How amazing! I thank you for being inspired by your video

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

    Just watching your videos gives me the motivation to create games

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

    Thank you for your awesome tutorial. You helped me a lot with my school project 😀

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

    Great. I might use this one day. I already use one using grid from another tutorial.
    I have one suggestion, maybe you might use a effector platform where u can jump through the platform.
    The player will grab the ledge from the inside "Not desirable" so maybe use a ray cast from the ledge to detect if player is facing it, then turn a bool on the player script.
    When "FacingEdge" is true, the ledge grab can also be performed.
    Maybe there is a better way, but that`s what i found to work. Cheers Mate

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

      another way i ill use is a trigger to check if inside a effector...if so, make a condition for ledge grab that checks we are not inside that bool.

  • @АлександрАсляев
    @АлександрАсляев ปีที่แล้ว

    Саня, красавчик. Я в 1988-1991 пытался рисовать подобные вещи на Спектруме. Понятная тема )

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

    great waiting for the rpg game

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

    tip:if you have a character that can walk left and right then make offsetLeft1 and offsetLeft2 and make the x values the opposite of when looking right.

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

      yeah, you could also make facingDirection variable to indicate which side you are looking to and then jsut multiply offset by facingDir

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

      ​@@unityalexdev I tried doing that at first but it didn't work for me

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

      Sorry but I don't get what u mean here
      Can u explain

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

    Hey Alex I think I will enroll in your course for 2D RPG, I saw the sections and I think it has everything I need, but I wonder if it has dialogues? I think that is the only thing it is missing, like just dialogues between npcs and players at some cutscenes, no need to let the player select options, just "hardcoded dialogues", do you have that mechanic in another tutorial? Thanks :)

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

    nice tutorial, thank you

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

    Just come across your channel, I've subbed and hoping for more videos!

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

      Welcome aboard! I will post very soon ,just need to finish course recording

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

    How you know the position of the ledge?
    Sure there the area of the lower half the circle, but doesn't that mean you will get a general idea of where the edge is? That means you may get a lower position higher or even a farther position.
    Right? Wouldn't that cause issues sometimes?

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

    Hey Alex, following your rpg course, could this be easily implemented in there?

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

    Heya, what is the character from?

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

    YES FINALLY

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

    I'm prototyping and don't have animations set up just yet. Is there a way to trigger the 'climb' without doing that? I've figured out the edge detection but the player just hangs there.

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

      I don't quite understand how you can do ledge climb without animation. But if you need it that way , you can use Invoke i guess , i mean you could try

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

      @@unityalexdev Right, I should have explained. I'm prototyping in a barebones state so I have a 2D box as the player character. I'm new to Unity and gamedev so I'm really trying to understand the basic concepts behind how to do what I'd like to do in C#. My strength is art so I'm really trying to avoid that side of things until I get C# under my feet.
      Would it be INVOKE > TRANSFORM.POSITION or something similar?

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

      I’m a little late and you probably solved this already but you could probably make a placeholder animation using the same square sprite until you replace it with your art

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

    Hey m8, where can I get the animation for ledge climber?

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

      this assets provided in my course , you can get it there or you can buy them from creator of this assets . his name is Dead Revolver

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

    Good

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

    Can i get video to wall detect?

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

      Could you be more specific? You want to know how to do wall detection?

  • @ИгорьБольшак-х5з
    @ИгорьБольшак-х5з ปีที่แล้ว +1

    Nice👍

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

    it only shows false and it never shows true in the console