First, id like to say that this is my first question, so please forgive me if my question isn't perfect. I'm also not great at math, but I believe this is a trig problem.
Say for example you have a guy pointing.
You know his position and his rotation from the center of his body. You Also have the position of his hand. Now there is a position off in the distance somewhere, and you need to rotate this person so that hand is pointing directly at that position. Let's say for simplicity that you only need to rotate the person on one axis (right and left for example) to achieve this. How would you do so?
Any help with this would be very appreciated. This question is not for homework it's just for personal use. if this is the incorrect place to ask this question, I apologize and would appreciate it if you pointed me in the right direction. See what i did there. XD
Say for example you have a guy pointing.
You know his position and his rotation from the center of his body. You Also have the position of his hand. Now there is a position off in the distance somewhere, and you need to rotate this person so that hand is pointing directly at that position. Let's say for simplicity that you only need to rotate the person on one axis (right and left for example) to achieve this. How would you do so?
Any help with this would be very appreciated. This question is not for homework it's just for personal use. if this is the incorrect place to ask this question, I apologize and would appreciate it if you pointed me in the right direction. See what i did there. XD