I’ve learned a bit about the way Vector3 functions work, but I’m still pretty hazy on it. I’m trying to figure out how to do a couple of things:
- I want to take a Vector3 and rotate it by an angle. So for example, if I were to put in (0,0,1) and I wanted to find a Vector3 that’s 90 degrees from it (around the Y axis), it would become (1,0,0). I feel like there should be a quick way to calculate what the new Vector3 is, but I just don’t know how to do it.
- I want to calculate the angle between one Vector3 and another. So for example, if the function were given (0,0,1) and (1,0,0), it would return 90.
Any help would be appreciated!