How can I make a grappling hook such as presented in the game windlands, i assumed I would use a raycast.
If you’re aiming the grappling hook with a first person view, I’d use a raycast and check if you hit something, then if the thing you hit is something you can grapple to.
From there, it’s based on how you want your grappling to work. Do you want to swing like an actual grappling hook, or do you want to fly towards the object like with Zelda’s hook shot?
For the former, I would use a rigidbody attached to the grappling hook like in this answer: How do you make a grappling hook? - Questions & Answers - Unity Discussions
For the latter, I would use a lerp to move from the player’s position to the position of the raycast hit, checking for collision obstacles on the way to make sure you don’t clip through things.