Тёмный
No video :(

How to make a GRAPPLING GUN / HOOK in Godot 4 Tutorial 

CirilXD
Подписаться 250
Просмотров 8 тыс.
50% 1

Let me show you how you can make a grappling rope in Godot 4 like this one.
For starters I’ll be using my own character controller I worked on in the last 2 videos. It is based on the character controller body 3d node, so it is using forces to move the player. With that in mind, the grapple mechanic is quite simple to implement, since all it does is to move the player in the direction of where the hook is attached to.
Before I continue, I’d like to thank Sebastian Lague for super chore man video involving verlet integration, as well as Entagma, with the video on Parallel transport.
.
If you liked this tutorial I would really appreciate it if you leave a like in return. Also you can subscribe to this channel if you want to see more tutorials like this one. But anyhow, have a good one! ;)
.
Music from RU-vid Library:
-Bossa Sonsa - Quincas Moreira
-Los Encinos - Quincas Moreira
.
Script: pastebin.com/Xc9wTW2N
.
.
.
.
.
.
How to make a GRAPPLING GUN / HOOK in Godot 4 Tutorial. Grappling mechanic in Godot 4. Attack on Titan hook Godot Gamedev AOT shingeki no kyojin odm gear tutorial game dev gamedev

Опубликовано:

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@pryzestopmotionstudiololno7695
@pryzestopmotionstudiololno7695 Месяц назад
anyone else saw this video and realised they were cooked
@Anokolisa
@Anokolisa 18 дней назад
I came in here just thinking "I want a rope" and I cried
@JuanitaMafi
@JuanitaMafi Месяц назад
your energy is the perfect pick-me-up on any day! ☕
@CirilXD2
@CirilXD2 23 дня назад
Thank you! :)
@unremarkable_b
@unremarkable_b 2 месяца назад
New to Godot, don't know what is going on in the video, seems informative, subscribed, will eventually get to this level.
@CirilXD2
@CirilXD2 2 месяца назад
Welcome! Hope you'll enjoy making cool stuff with it! :)
@thereissomethingwrong8440
@thereissomethingwrong8440 4 месяца назад
heya this is awesome! would be cool to see you do a vid on a swinging rope for the player to swing around! keep up the great work
@CirilXD2
@CirilXD2 4 месяца назад
Thank You!
@argmarc
@argmarc 3 месяца назад
RU-vid thinks this video is Attack on Titan xD. Well, it's not entirely wrong...
@CirilXD2
@CirilXD2 3 месяца назад
lol 😂
@Skaro11
@Skaro11 2 месяца назад
Thanks for the video! I was able to follow it, but it would have been easier if you wrote the code in realtime while explaining. The parts explaining the math also felt a bit rushed, and I would have preffered more time to digest it. I also found that I need to translate the start/end positions to local space for the rope to generate correctly. I thought that the rope mesh instance needs to be top level but maybe i'm mistaken. Edit: I think it's due to the fact that my player is in it's own scene instantiated in a different one, so I have to pass global_position. Then the rope being top level is instantiated outside the main scene, directly under root and need the global_position translated to it's own local space.
@CirilXD2
@CirilXD2 2 месяца назад
You're right! I should probably slow down a bit 😅 ... as for the positions for the rope, yes, i think i had to do something with the translations too, but can't remember it too well XD
@raycastly
@raycastly 5 месяцев назад
Great video! Keep it up!:)
@CirilXD2
@CirilXD2 5 месяцев назад
Thank you! :)
@TheDuckCow
@TheDuckCow 2 месяца назад
Nice walkthrough!
@Quacker24
@Quacker24 2 месяца назад
Hey when you get time, can you please make a more begginer friendly tutorial? It would be most appreciated, cheers!
@ChowderhoundGames
@ChowderhoundGames 4 месяца назад
i will literally pay you if you put this on github or at least send these files to me. i know the script is in the description but i need more than that. i'm serious, please reply soon
@CirilXD2
@CirilXD2 4 месяца назад
once I'm done with exams i Can try to find this project and see what i can do
@domaa_h
@domaa_h 5 месяцев назад
ok either it was difficult to understand for a beginner + i didnt have the same character controller either i need help.
@CirilXD2
@CirilXD2 5 месяцев назад
if you are referring to the .gd script Character controller then that is a custom thing i made in the previous videos, but Godot also has a character controller but iirc it was added in version 4. previously it was probably known under different name, but i could be mistaken
@domaa_h
@domaa_h 5 месяцев назад
I made my character controller with the godot base script, but i dont really know like u just show screenshots and clips of what ur doing soo my brain is like "im not gonna understand that" @@CirilXD2
@asdfghjkl-jk6mu
@asdfghjkl-jk6mu 4 месяца назад
is it on github?
@CirilXD2
@CirilXD2 4 месяца назад
no currently not 😅 it is on my to do list once i have a bit more time setting everything up
@khaelou
@khaelou 2 месяца назад
This is by far the worst tutorial, please never start a tutorial with the project already set up, this was so confusing to reimplement from a new project
@khaelou
@khaelou 2 месяца назад
Issue starts when showing Rope Generator, I'm forced to recreate such node without proper direction of how
@user-ub4hw4zo8s
@user-ub4hw4zo8s Месяц назад
If you're noobie, yes. If you're not, you can just look at the code and understand whats happening
@khaelou
@khaelou Месяц назад
@@user-ub4hw4zo8s by far not a noob, hence why others agree
@notimportant0000
@notimportant0000 3 месяца назад
Hey great video, but I'm having a few problems, when I grapple unto a wall the character bounces up and down a lot and when I grapple unto the ground instead of the rope being attached to the ground it sticks to the air above it. Do you know what could be causing these issues?
@CirilXD2
@CirilXD2 3 месяца назад
iirc part of the code completely blocks the horizontal acceleration/ overrides it while in air... sadly i tried my best to make the code in machine state style but failed, since the states do affect one another, this way when grappling you receive the full effect of vertical aspect of the direction vector but not the movement keys, or well the movement is reduced.... That is if i remember the bug that was present correctly, so i might be mistaken actually
@KorathiHeatwave
@KorathiHeatwave 5 месяцев назад
wow
@Coding_Master_Me
@Coding_Master_Me 5 месяцев назад
i didnt get anything u gived us the cript show us how the playerscene is and what mesh forthr rope generator u used and so many other questions show us how the playr made like the height cast or the camera peviot plssss
@CirilXD2
@CirilXD2 5 месяцев назад
the previous two videos cover these steps as this one is a follow up on them. If you want the player height changes, i think that's the first video :)
@Coding_Master_Me
@Coding_Master_Me 5 месяцев назад
@@CirilXD2 ok thx very much❤❤❤❤❤❤
@CirilXD2
@CirilXD2 5 месяцев назад
no prob ;) if you have any questions or sth you'd like me to cover let me know
@PIRO_ONTAN
@PIRO_ONTAN 3 месяца назад
Link project please ❤❤
@CirilXD2
@CirilXD2 3 месяца назад
you mean github?
@PIRO_ONTAN
@PIRO_ONTAN 3 месяца назад
@@CirilXD2 yes
@PIRO_ONTAN
@PIRO_ONTAN 2 месяца назад
Link please 😢
@PIRO_ONTAN
@PIRO_ONTAN 3 месяца назад
I am a new subscriber, 🩸👻
@CirilXD2
@CirilXD2 3 месяца назад
Thank you! :)
Далее
I Made My First Game in Godot in 3 Weeks...
26:21
Просмотров 315 тыс.
💀СЛОМАЛ Айфон за 5 СЕКУНД😱
00:26
How I designed Fruit Ninja
22:58
Просмотров 6 млн
How To Make a GRAPPLING GUN in GODOT 3D
3:50
I Made the Same Game in 8 Engines
12:34
Просмотров 4 млн
A new way to generate worlds (stitched WFC)
10:51
Просмотров 525 тыс.
How to Add Interaction in Godot 4
16:48
Просмотров 12 тыс.
💀СЛОМАЛ Айфон за 5 СЕКУНД😱
00:26