Full LEDGE CLIMBING SYSTEM in 11 MINUTES - Unity Tutorial
Вставка
- Опубліковано 20 сер 2024
- Full LEDGE CLIMBING SYSTEM in 11 MINUTES - Unity Tutorial
In this tutorial, I'm going to follow up on my other climbing tutorial and show you everything you need to know about coding a full ledge climbing ability, including grabbing and holding onto ledges as well as jumping off of them in any direction.
If this tutorial has helped you in any way, I would really appreciate it if you leave a like in return. And you can also subscribe to this channel if you want to see more tutorials like this one.
Links:
➤ DOWNLOAD the LEDGE GRABBING SCRIPT: www.mediafire....
➤ GET the PLAYER MOVEMENT SCRIPT: • FIRST PERSON MOVEMENT ...
➤ DOWNLOAD the PROJECT (in the free-code-dave channel): / discord
➤ DON'T CLICK: bit.ly/2VcrDZt
➡️ Get Access to my full MOVEMENT LAB!➡️
➤ Trailer: • MOVEMENT LAB - Unity P...
🏹 Get Access to my RANGED COMBAT LAB!🏹
➤ Trailer: • RANGED COMBAT LAB - Un...
Other interesting videos :D
➤ THROWING Grenades, Knives and Other Objects - Unity Tutorial): • THROWING Grenades, Kni...
➤ FULL 3D ENEMY AI in 6 MINUTES! || Unity Tutorial: • FULL 3D ENEMY AI in 6 ...
Support me on Patreon:
➤ / davegamedevelopment
#UnityMovement #UnityWallrunning #UnityTutorial
I think you are the best developer of unity games in the world
I know
Still have your other videos saved for (probably) my next game :D Awesome Dave! I feel like you are such a great addition to Brackeys
Thanks a lot, appreciate it!
Literally sounds like him ahhahh
Brackeys, is that you? Kidding aside, great tutorial!
Haha thanks!
Amazing tutorial! I wonder what other mechanics you can come up with. I hope this won't be the last tutorial :)
Thanks! And no, definitely won't be the last one :D
I´m following every tutorial and even tried things off my own, thank you so much! I would like to know how to handle getting pushed by something like a bomb, physics object (piston), or a jump pad.
That's awesome keep going, watching tutorials and trying things on my own is exactly how I learned to code :D And thanks for the idea, I'll think about it.
Dave / GameDevelopment there’s a explosion function in unity so strike that :D. Although a video is always better to understand
the serie is doing great so far! glad you made this serie, but will you do stuffs like headbob, sprinting/wall run/ climbing camera effects? it would make the fps controller much better
Thanks, and I'll think about it, maybe I'll do a Tutorial on how a cameraEffects script and show some things like fov changes and camShake
Can you please add a adding climbing ik for third person control with ability to move horizontally while currently holding on to a ledge
Here's one more comment I guess, great video btw!
Thanks!
Amazing tutorial! By any chance can you make a video breaking down movement in different games like CS:GO and Valorant? I think they have complex movement like surfing and b-hopping.
Thanks a lot! And yes, a tutorial about those topics would definitely be interesting, I'll probably make one once I studied player movement a bit more in depth :D
I feel like a testimate to how good these tutorials are is I've been using them for Roblox studio
Amazing Tutorial series, I have been following it and it has been really helpful. I am a new unity dev and was wondering if you could make a tutorial on how to implement guns into it to go with the throwing knifes and grenades, to make a First Person Shooter.
Maybe check out my all kind of guns tutorial or the ones about shooting & custom projectiles :D
This came at the right time thanks a lot
No problem :D
Please let us know how to do it with third person but with character controller
ur videos are sooo useful . thnks
Glad you like them!
Good stuff, well explained and easy to implement.
you are like a jesus to me man, thank you!
Excellent, thank you.
Need help sir
Can you maybe add double jump next? It would really help me a lot!!!
Yeah I'll probably do that sometime soon
@@davegamedevelopment alright thank you!
Thanks so much for the tutorials...Could you please upload a tutorial to add a gun in front of the player?
Glad you like my tutorials! Ana I already made a few tutorials on how to add guns and custom bullets to your player :D (And I'll probably do some more tutorials on this topic soon)
Thanks
No problem! :D
Could you teach about lock up target ? How it's work and whats is the key code on it ?
Your work is always great to see, Do people ever reach out to you/pay you to help with their gaming projects?
Thanks! And no, so far not, I do offer coding help for my Patreons though (Check Out the tier descriptions) :D
will you do any third person tutorials
Third person is essentially the same as first person, except that you need to use a different canera script and rotate the player based on your Input. But yes, maybe I'll make a tutorial on how to convert this controller into a third person one :D
Would you also include a Tutorial for footstep/climing and jumping stounds?
Thanks for the idea, I'll think about making a tutorial about adding a Sound Manager :D
Thank you so much for the tutorial! But I am having a problem where my wall ledges are moving every time I climb on them, is there some else that has had this problem?
I love you bro
Haha thanks!
nice
Thanks!
Please can you do the rest of the serie : "SHOOTING with BULLETS...", I need it
Can you make a tutorial on how to grind rails?
Yeah I'll probably do that some time soon. Maybe together with a csgo like surfing ability :D
@@davegamedevelopment Thanks and keep up the good work man!
Im looking forward to the next tutorial :)
The Ultimate movement parkour game LOL
Haha yeah, watch all of my movement tutorials, add some graphics, Level design and there you go :D
@@davegamedevelopment Exactly. Man could you make an entire game with this.
your the best developer + pls Can you add MultiPLayer
Thanks! And yeah, I'll think about it!
Hi, I have a question for you. I’ve been following the tutorials (and they’re great and the code works wel too) but I was wondering why you put the code for some things like ledge grabbing and sliding for example in a different script instead of in the player movement script.
If I put everything into one script it would be like 3000 lines long and a complete mess :D This way everything is correctly structured and I know exactly what each script does.
@@davegamedevelopment ah okay, thank you!
Can you please make weapon system tutorial
I already made a few, check out my older tutorials :D
Awesome tutor! Can you please make a tutorial video FreeClimb wall like Zelda Botw for the full set of 3 climbing systems?
could you please make a double jump tutorial
Guess what? Brackeys is back in another form of other channel!
Haha I guess so :D
how do i make the player be able to hold the jump button to make the player jump higher
Make a bool called jumping, when you press the jump key down and are grounded set it to true and start a jump timer. When the key get's released again or the jump Timer runs out set it to false.
The while jumping is true constantly add upwards force to the player :D
Can you please make a tutorial video on making the Vortex Shield from Titanfall 2?
I'll think about it, thanks for the Idea!
@@davegamedevelopment Thanks.
very good video but please can you tell me how to make the texture for your object , i want to have like the platform you have with cube borders
thx
Thank you so much for this ! :D Do you think it would be possible to "combine" this script with the regular climbing one to make a Mirror's Edge's-like pipe climbing ? :D
what should be added to collect ledges after being attracted to them?
can you add vaulting?
It kind of already works, just shoot the raycast from the feet position of the player and increase the climbing speed. But yeah, maybe I'll make an extra tutorial :D
@@davegamedevelopment ok thats cool! Thanks for the hint. Yuo are really nice! :)
hi im trying to create game for my school project will this work on third person perspective? im new at unity and dont have much knowledge
Is there an easy way to calculate the horizontal length of the ledge and allow the player to move side to side across them?
I been trying to make a dash mechanic but it doesnt work. I love your tutorials but can you make a dash system
Yeah definitely planning to do that :D
Hey Dave.awesome tutor.Can this also be done via third person controller ?
Thanks a lot! And yes, the code works just fine for a third person controller. But when calculating the direction of the ledge jump you can't use cam.forward, instead you could use the direction of the player input for example :D
yes!!
How come there is stuff like vaulting? I can’t find that video
When did the vaulting part of the code happen?
Do you have a solution for the player teleporting when wall jumping? This only seems to happen when the wall jump side force is above a certain threshold. Seems like an issue with speed control but I'm not sure.
same problem
for the movement script, it didn't work for me what version are you on
Unity 2020 lts, but it should work in all Versions
Could you show how to fix weapon clipping?
If you make 2 diffrent cameras (one for weapons and the other one for everything else) you have 2 cameras ontop so it doesn't clip :D
Hey i noticed airminspeed what value would you reccomend for it? or would you put it on keep momentum true?
Random question, is there a reason you chose SphereCast instead of Raycast?
Hi Dave, when following this script literally word for word, I end up with a problem in that the ledge grabbing hardly works, and when it does it launches me like an absolute rocket and increases my speed a thousand fold. What should I do?
yeah i got this too, im confused asf, might be an issue with recent unity versions
I am using 2022 version, same issue.
Can you make a legit shooting script
Legit? My old Tutorials on shooting are quite good :D
@@davegamedevelopment the problem I find is the camera shake and reloading :p
love the video and been waiting on a long time for something like this but i'm having one problem. so when I press the move buttons while looking away form the ledge i get shot away into what ever direction i'm pressing i went over the code at least twice any help?
Did you fix?
Same issue, here, too.
Me casually making my character controller handle 90⁰ angles and call it a day 🤣🤣
10:00 lo del momentun
Brackeys? Is that you?
I am not a C# programmer, but mutating global state everywhere and not passing it over function arguments seems like a bad practice
You're not changing the state directly, you're telling the playermovement script, that climbing, wallrunning, freeze etc. is now active. Then the playermovement script decides based on a hirarchy which state it should enter.
That said, I don't claim that this solution is perfect, but it's simple and does the job :D
@@davegamedevelopment I did it similarly in C++ the other day and at some point this becomes really hard to follow. Now I mainly use Rust and using global variables is much harder, so I pass everything over arguments and it is easy to see what the effects of a function are.
I get that this is just a video to show the general idea. Just a thought.
Pin
Comment for channel promotion
Appreciate it man!