Hi i think i'll annoy you one more time with my newbie questions :D
let's assume i have a point and a line in 3D space:
/
o /
/
/
/
/
/
and i connect the point to the line with the shortest path possible (perpendicular, even though on the picture it's not ;))
/
o /
\ /
\ /
/
/
/
what i'd like to know is the coord of the point on the line that the perpendicular touches / i think a picture will be clearer:
/
o /
\ /
\ /
o <-- i want to find this point
/
/
how can i do that? i could do it in 2D but in 3D i don't know...
thanks!! (i don't need code, pseudo-code or an explaination will do)