Relative Content

Tag Archive for 3dgodotgodot4

Draw a line between two points (Grappling Hook) – Godot 4 3D

I am working on a grappling/swinging hook system, which I am still trying to fully figure out, but I wanted to draw a line between the grappling gun and the grapple point. I got the majority of the code from this GitHub repo, and started to try and modify it to fit what I needed, but I’m completely stuck on drawing the grappling line. It uses a CSGCylinder3D and adjusts the position, but currently line line goes way past where the actual grappling point is, which is not good (shown in the image below).