How would I make a grappling hook system?

So I am kind of bored right now and decided,
wouldn’t it be fun if I made a grappling hook?

So here I am!
Only problem is I dont know how to make one.

I have followed some tutorials, most of them were outdated.
So what do yalls think?

How can I make one?
Any tips to get started?

Thanks!

3 Likes

For starters id go with the usual, is it going to have drop or will it fire in a straight line, if its got drop then you can either script it to move fowards and curve or just use physics and apply forces to make things more interesting.

From there its just a case of adding in Touch Detection to the graple and then adding in a rope or something connecting the grapple and the tool and changing the size of it, another thing to consider is if you wanted the grapple to be more involved you can add in animations or do some funny stuff like ragdolling the character while grappling.

For moving a object with physics if look at Physics | Documentation - Roblox Creator Hub
Personally I avoid using physics due to how unpredicatable it can be

For moving it using other means if look at using cframe (Look into this more), you can move it fowards with lookvector and rotate it using angles if it has drop. The only slight annoyance with this is that it can effect collision detection but you can get around that by quickly turning collisions on and off with each iteration of the movement loop

2 Likes