@Piticlero: The green line represents the vector from the starting point of the joint to its endpoint and the projection vector from the starting point of the joint to the point. After performing the calculations, it helps identify the red point. Finally, we handle collisions between the red point and other points using the Verlet method