2d Sidescroller Grapple Hook

Hi

How would i go about making a grapple hook in a paper2d sidescroller?

Many Thanks

I’m guessing you mean something like the in worms? Basically you’d want to shoot a raycast from the player through your mouse pointer/crosshair or whatever, until you hit something or you reach your max distance. When you hit something, you can move your player to that location that you hit over time, using a similar technique to this one: https://answers.unrealengine.com/questions/144402/moving-actor-from-one-point-to-another-smoothly.html

Thats perfect

Thanks

Glad I could help! Good luck on your game