I've been stuck on this forever now because I don't understand math in the slightest and when people talk about matrices they just give the table and don't explain how to actually go through each step.
Vector3 center = new Vector3(0.5f,0.5f,0.5f); //an arbitrary center Vector3 point = new Vector3(0.5f, 0.5f, 0); //an arbitrary point Vector3 endpoint; //how do I get this Vector3 current_east = Vector3.right; //x Vector3 current_up = Vector3.up; //y Vector3 current_north = Vector3.forward; //z Vector3 moveto_east = Vector3.back; Vector3 moveto_up = Vector3.left; Vector3 moveto_north = Vector3.up;
So if I was to rotate the current vectors, to the moveto vectors what position would the point be in. (in this case it would be 0.5, 0, 0.5) buut how would I achieve this assuming the point and the axis will be arbitrarily defined. Picture for clarification.