I have a 3D unity vector pointing in a certain direction. Now I want to get a new unity vector which is 45 degrees tilted from the direction of that vector, in which direction exactly has to be random. Does anyone know a way to compute that new vector?
(Alternatively, this may be expressed as the rotation of a 3D point around the origin in a random direction by 45 degrees.)
To remove the 'random' component: I am happy if I can find ANY vector that is 45 degrees tilted from my old vector, because then I might be able to rotate the end point of that vector a random distance around the old vector.