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
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!!!
I'm glad you like it! Enjoy 😊
That is a great way to do ledge detection I love it!!
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!
Glad it was helpful!
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.
Glad it helped! Anything else you struggling with? I'll make a tutorial
How amazing! I thank you for being inspired by your video
Just watching your videos gives me the motivation to create games
Happy to hear that!😊
Thank you for your awesome tutorial. You helped me a lot with my school project 😀
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
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 пытался рисовать подобные вещи на Спектруме. Понятная тема )
great waiting for the rpg game
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.
yeah, you could also make facingDirection variable to indicate which side you are looking to and then jsut multiply offset by facingDir
@@unityalexdev I tried doing that at first but it didn't work for me
Sorry but I don't get what u mean here
Can u explain
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 :)
nice tutorial, thank you
Glad if I could help 😁
Just come across your channel, I've subbed and hoping for more videos!
Welcome aboard! I will post very soon ,just need to finish course recording
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?
Hey Alex, following your rpg course, could this be easily implemented in there?
Heya, what is the character from?
YES FINALLY
I'm flattered😂
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.
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
@@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?
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
Hey m8, where can I get the animation for ledge climber?
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
Good
Can i get video to wall detect?
Could you be more specific? You want to know how to do wall detection?
Nice👍
Thanks ✌
it only shows false and it never shows true in the console
did you solve it?
@@unityalexdev no ☹☹