i have created attachment systems before, but i just can’t seen to wrap my brain around the idea for creating a system like this. so i came here looking for an explanation
This converts the 3d space of the attachment locations into 2d space on the player’s User Interface. What specifically are you looking for an explanation on?
How to draw the lines from the 2d ui images to the 3d attachments?
How to actually create an attachment system on a first person gun? (Swapping out gun attachments visually)
Once you have that point, you can use the absolute position of the attachment image in 2d space to draw a line from 2d to 3d. Take a look at this to see an explanation on drawing this line: Drawing a line between two points in 2D?