Draw a line between 2 objects


I’m using a revolute joint to do kinda like a grapple gun swing thing but i cant figure out how to draw a line between the player and the grapple points. if u know how to do this plz lmk


Maybe it will help you: "Ninja Rope" pendulum swinging with Platformer behavior