This is pretty trivial, but I've not managed to resolve it to my satisfaction and it has reached the stage where fresh eyes are definitely useful!
I have an xyz point, and a 3D vector originating at that point. I would like to be able to shift one of the coordinates by a fixed amount, and calculate the change in the other two coordinates as I traverse the vector.
For example:
Starting at the xyz point (24.2778,30.0526,105.738) I have a vector with components (15.7618,19.4226,68.7535).
I would like to move along the vector 2.60662 in z, and then calculate the corresponding points for x and y (still sitting along this original vector).
Is it correct to calculate the unit vector in each direction, and then simply do:
new x = original_x + (x_unit_vector * 2.60662)
new y = original_y + (y_unit_vector * 2.60662)
Doing this yields a new xyz point at (24.8393, 30.7446, 108.188) which seems reasonable, but I'd like to be more confident in my approach than that!
Many thanks.