By modifying the Ray-Triangle intersection code (@Chooper-Beta) into a Line-Triangle intersection algorithm, modifying the Ray-Capsule intersection code (@badatcode123) into a Line-Capsule algorithm, and applying the Sphere-Triangle intersection code (@alltrue) to both ends, I was able to combine them with some conditionals to create a full and working Capsule-Triangle algorithm. The code is horrendous and could use a lot of optimization, but it shouldn't run too slow. Take without credit this was made for use.