0 votes

Hello everyone,

So for my next game, i'm trying to make a grappling hook in 2D, something really simple, the player move, he can throw his grapple on specific areas his body is swinging, something really similar to "Grapple Dog" if someone know

I tried a lot of thing, from the dampedspringjoint2D to raycast but i keep having trouble, and tutorials on youtube don't actually help me..

If someone could help me it would be really nice x-x

Godot version 3.3.2.stable.mono.official
in Engine by (17 points)

Have you looked at this 2D platformer game from GDQuest? It has a character who can use a grappling hook to get around (it would be a good idea to look at the scripts which implement the grappling hook mechanic). Admittedly, this is more advanced, as it also uses state machines. But it's something which has the code, and has a tutorial to go along with it.

Oh, I've never heard of this before, it sounds really interesting even if it looks advanced, I've never used a state machine before but I might as well try it

Thanks a lot!

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.