-
How to rotate the Y axis of a 3d vector according to another 3d vector?
I have vector A rotating randomly around the Y axis (for example [-1, -2, 3]). I have vector B that is the velocity of my moving Emitter.
I want to rotate the Y axis of vector A to the direction of vector B. I want to make particles spread like firework trails.
Please help calculate the transformed vector A. Thanks!