Hey! I want to do a grappling hook in my game, but dont know how to do it. Can someone help me or explain it to me how it works? Would be great :).
You’ll probably want to look into raycasting. Basically, this shoots out a ray from a location, and you can get data on what it hits and other stuff too. You’ll probably want a raycast that checks what object it hits, and if it’s an acceptable surface then execute code to move the player’s position to that hit point.
Gamad from the forums himself actually made a tutorial on grappling hooks.