If there is no restriction as to which direction the point is moving, the easiest way is to move along one axis.
So, if you need to move a point to a distance of 1 unit, your point P (0,3,0,5) can simply become one of the following: P (1,3,0,5) or P (0.3,1.5)
xbonez
source share