ADVANCED SWINGING in 9 MINUTES - Unity Tutorial
HTML-код
- Опубликовано: 19 июн 2024
- ADVANCED SWINGING in 9 MINUTES - Unity Tutorial
In this tutorial I'm going to show you everything you need to know to code an advanced (omni-directional) swinging ability in Unity. I'll also show you how to combine this swinging ability with the grappling ability from last tutorial and how to implement proper aim prediction.
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 SCRIPT: www.mediafire.com/file/oyhc5j...
➤ 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 #swinging #unitytutorial
Hey Dave! Taking my intro to game programming class this semester and your vids are helping out a ton and I love your content! Would love to see the dual grappling hook tutorial, thanks for all you do!
This plus the GDC talk on traversal in Spiderman are extremely well matched to get a good feel for air swinging mechanics!
your guides are really good! You explain these mechanics, which are complicated to do, in a very short time, in a very easy way. Please keep making videos like this, I'm sure you'll leave other channels behind one day!
Thanks so much! Appreciate the feedback! And yes, I'll definitely keep going :D
@@davegamedevelopment wayyyyyyyyyyyyyyyyyy better than the traditional tutorial style. Appealing to both coders and non coders. Even though this is coming from a coder. I see what you're doing and i like it!
@@davegamedevelopment, You definitely stop(
Love your guides. Return to us pls.
I loved this tutorial. Before, I used your grappling tutorial for my game but swinging was so much more fun, one thing though: I was wondering if you could do a tutorial on vaulting over objects. Thanks
Great Tutorial!😀I'd really like to see the dual hooks!! Thank you so much
your teaching style is really the best
Loving these tutorials.
Couple of requests:
1. Climbing up onto a ledge from hanging (rather than just sending the player upwards into the air)
2. Proper vaulting (as seen in Mirror's edge / Dying Light / Assassin's Creed)
Using this tutorial to make an AoT mod for Blade and Sorcery, you're a life saver!
OMG I love this Keep posting I cant wait for dual hooks
Glad you like it!
Hoping you make a tutorial on if you want to grapple / swing from a moving object, since if the object is moving the end of the grapple will stay where the object you hit Was and not stay on the object as it moves.
Yeah that's actually not too hard to implement, maybe I'll add it as a pinned comment, thanks for the idea!
@@davegamedevelopment Would love that, I appreciate your tutorials and work you do for the unity community, thank you.
bro thanks so much, you actually made soft soft easy to understand
Love this channel ❤️
Thank you so much for sharing your knowledge for free Thankss
Hiya Dave, I just found your tutorials and they look great, but I was wondering if you would ever consider making a tutorial about how to handle the new input system, and maybe use that with your previous tutorials the way you've made a video about making your game third-person which was still compatible with your other videos? Would that be at all possible? Either way, thanks for making these great resources!
Thank you for the tutorials they help a lot
Glad to hear that!
Hey man i wondered how did you do your lines shaky. And great tutorial videos man i learned so much. Thanks.
Really love this video, lot's of ideas from this video. Hope you do a video on dual grappling hook.
Thanks a lot! And yes, I'll probably make one about dual hooks :D
nice tutorials Dave was wondering if you had tips for learning on coding cs like surfing scripts but keep up the great work
OMG i love this channel
What a total blessing, chad
Thanks a lot man!
video looking like from a new man. Well done!
Thanks a lot!
first of all, just wanna say this, you have amazing tutorials, they are helping me a lot for a game i wanna make
second of all, am i allowed to use your code shown in this tutorial(and other tutorials on your channel) in my game?
Than you for amazing tutorial! Would you consider making tutorial on gliding?
THANK YOU VERY MUCH!!!!!!!
Glad you like it! And thank you too for watching :D
thanks for the great content
Glad you like it!
This tutorial is amazing, I want to do a parkour game now.
Thanks so much! And sure, go ahead :D
looks good to me but i want to know if it includes the other movements from previous videos like wall running,climbing,sliding etc.
Nice work keep it up 👍
Thanks, glad you like it!
Would love the double grapple tutorial btw
Great video, thank you very much for it. Can you tell me by any chance where the grid textures are from (not the probuilder ones) cause no one seems to know
This was a very good tutorial but can you maybe make a tutorial about vaulting over objects and manteling
A legende
Keep up 💜
Thanks a lot!
U r amazing bro
Thanks a lot! :D
Cant wait to steal this and make this a main mechanic for my game
Haha go ahead! :D
Get the Bag homie
Hey great video! Do you think you could make a fps controller with the character controller component?
Bro your tutorials are AWESOME. I just started with C# and I understand everything perfectly fine. THANKS
Good Tutorial! Can you make one for melee combat
this video was great i just wish there was a way to make the line renderer rope to be able to detect collisions and make it so that the rope would go through objects while swinging
Finally
Let's go! :D
Hi Dave, could you make sliding on rails system, and automatic slopes that you have to time your jump?
Hey, Can you show us how to get a crooshair?
Other than that, I love these vids! They Help SOOO Much
Hello Dave, could you please make a tutorial about Third Person SWINGING? 😍
I WANT MORE!
epic vid bro. But how does one go around making a speed shower in the hud?
hi i was wandering if you could make a tutorial about hp and heath and stuff
hey, can you explain in one video how did you manage to improve that fast, more or less what tutorials did you watch, how many hours a day ecc thx for the tutorials
A few things:
1. How does this not have more likes
2. This was an amazing tutorial tysm I was also able to make a prediction point for grappling
3. I would love to see a tutorial on dual swinging
love this series!
Duplicate The Swinging Gun And Move it to the right/left
Bro is making a spider man game... Awesome
The tutorial helps in understanding that the swing mechanic can be achieved but this is all still confusing after several trails. Maybe another tutorial briefly showing step by step on how to get the job done. I am using a third person controller from "Starter assets from unity". It would be great if the tutorials using the Starter assets to make life easy.
Hello sir.
Do you have a simple sitting on chair tutorial?Like there will be an arrow on top chair and when you click it you will sit on chair.
Thank you sir.
I am currently trying to swing with Visual Scripting (Bolt), but I am having trouble because when I Destroy a Joint, the Joint before it was destroyed is reused.
Should I destroy the entire tip object?
Should I use the method of generating only the tip multiple times?
Can you make a video about how to change between an grapple hook and a gun
Is there a way to disable and enable certain movements for different Levels?
(Level 1: no swing or dash/ Level 2: add dash)
pls MORE!!!
please make dual swing tutorial plz :)))
hippity, hoppity,
your code is now my property :)
Haha no problem, glad I could help :D
@@davegamedevelopment you made my game 10x better, my own player controller script was weird and buggy lol
Dual hooks please! :O
Tou should make rhe camera move down a little and show a particle effect when you land from a high place and make that value increase....
Hi where is your discord because I my grappling works fine but when I drop it using one of your codes in your previous video it starts to become wonky could you help me please thanks.
Hey dave, can you please mix the PlayerMovementAdvanced script and the PlayerMovementGrapple one please? I would be really thankful since I'm struggling to do that.
You are insane
Thanks!
Will this work with a character controller?
can you add a step offset for the playermovement sa you dont get stck on stairs
thank you!
Is this the new brackeys? thanks for the hard work 😁
Maybe one day haha :D
Can you add enemy and guns in the game pls and also consider making the grappling and swinging instead of just appearing out of no where lol but overall great tutorial
Please make a swim system! :)
Thanks for the idea, I'll think about it!
how can i make the prediction point always the same scale regardless of the distance to camera?
do u use templates? if u dont what do u use to create new project im new to unity and i wanna make a parkour game
Sir any plans on doing one video about swimming or flying controller?
Yes, I'll probably cover those sometime, but can't tell you when exactly
Please can you do like genchin impact fly system or swiming ?
I followed the code exactly, but for some reason when I use the swing ability my line starts jittering and is not smooth like yours. Any ideas why this would be happening?
Can you please quickly explain how you did this wobbly effect?
I think it's obvious it's not just a straight drawn line 😂😂.
Thanks alot!
This tutorial was so fun.
Also, why do u keep checking
Hitpoint != Vector3.zero
What does the "vector3.zero" mean?
Thanks Brackeys 2.0!
That's what i said on one of his videos lol. Such soothing voice
I followed along with the tutorial by Affax, it's called something like "How to animate a grappling rope" :D
And Vector3.zero in this case just means that the raycast didn't hit anything.
@@davegamedevelopment thanks alot 🙏🙏🙏🙏
Make some robot enmyes in the karlson style which you can kill by running into them and make a map
Hi, this can work with third person???
Please tell how to add fps animations
can anyone share the invite link to the discord as the one in the description does not work
can the grappling gun be a separate item like can i also use your drop and pickup system with this
exactly thats what imm thinking
can u replicate with mirror for multiplayer?
I was using ur movement script in The 3d movement video, and The wasd works but The space does not, please help
You must have been spying on me I started today trying to make this exact thing but it just felt terrible thanks for the help
Sure I've got a camera in your room :D And glad I could help!
Reminds me of Dani Tutorial
is this can using in 2D game too ?
bro plz make a video on 3rd person wallrun cause i tried to make it but my character wont rotate like in first person and neither will the camera :/
Bro can we give texture on rope?
what is the orientation transform we didnt sign it here
If you come close to the place where the hook is thrown, the character will slow down. The damper interferes with it. And if you turn off the damper, the cable will no longer hold the character. How to fix it?
I have an error in the first movement video, the raycadt doesnt work it doesnt detect if it hits the ground
I downloaded the script from your link for first person, but it still won't jump, I don't know how to fix it. If anybody could help, I would appreciate that.
can someone pls help?
can you make a third person swinging tutorial?
Well it's kind of the same, if you've seen my third person movement tutorial, just use the combat camera settings and it should work fine :D
every time i try to look up at the spot where i want to swing i get pushed in the ground pls help
I am using your movement script, but am being pulled aside by some force without pressing anything. Is anyone aware of such problems?
When i change my swingspeed value to something high it still stays the same as my walkspeed anyone know why?
If I hold space while swinging I get a juttering effect, is it something to do with my jump?
I added if(swinging) return; to jump and it feels more responsive but I've just noticed that while swinging my camera becomes juttery and if I'm close to an object and let go I start gliding
dual pls
day 2 off asking Dave add a step offset for the playermovement so you dont get stuck on stairs
thank you!
Can you give me the code to basic swing
i followed tutorial and my swining doesn't work, i just stay put midair
can someone send me the script but without the air controll ?
Can u make this work for third person too?
It already should, if you check out my third person tutorial and use the combat camera mode it should work fine :D
@@davegamedevelopment Can u link the combat camera tutorial. I cant seem to find it.
@@hypercharge26 It's part of the third person movement tutorial on my channel :D