Hi guys and of course thanks before anything. I am starting to use Unity 3D in a professional environment, and I am facing a hard time trying to understand what is the goal behind multiplying a Quaternion by a Vector3 and what the result is. For example, I don understand why, in this code:
Vector3 idk = Quaternion.Euler(0, 45, 0) * transform.forward;
my Vector3 idk results in (0.7, 0.0, 0.7). I have read in several places that when you do that, you are “rotating the vector by the quaternion”, but I simply don’t understand the value I get or the concept I am facing. Could someone please explain me a bit better or point me to a place where I can read in detail what is happening here, where I am lost? Unity docs focuses on multiplying Quaternions by Quaternions, and I get that part, but Quaternions * Vectors are right now really hard to understand. Thanks again, and have a good day.