You have a point in space having known coordinates, say P(x1, y1, z1). There is a vector coming out of this point in the direction, D(ai + bj + ck), write pseudo code to find the coordinates of an another point Q in the given direction at distance d from our originating point.
P + (d / ||D||) D