This is for a grappling hook I’m trying to make, so if you have another method of doing so, I’d love to hear it too!
Im using a line trace from my character to where Im aiming to bring myself to the location, but Im having two issues.
-
If I use the location of where the line trace hits something and brings me to the exact location, but it does not stick onto a moving object so I’ll be stuck floating in the air.
-
I can use the relative location of what the line trace hits to bring me to the object. It works on moving objects, but it brings me to its center and not where I hit it. Works fine for small objects, but not so well for bigger ones.
I figured I can fix this by sticking a small object to the surface where the line trace is, and bring me towards that, but I have no clue as to how to do that so Im hoping someone else can help me. I used an online tutorial from a wiki page as a base, but I cant seem to find it anymore. I would appreciate any help I can get.