Relative look at?

Hi,
I know that the command “LookAt” is what is used to make objects face certain vectors in world space, but what if I wanted to change the ‘front’ of the object without rotating the object itself and have the ‘front’ side of that object based on another “LookAt” statement so that when I try to have an arm look at a hand, it knows which part is the front, which is the bottom of the arm?

So far, if I have an arm look at a hand, the arm would be 90 degrees out of proportion because the front side of the arm is not towards the bottom side. I know it would make sense for me to rotate the object’s y coordination by 90 degrees, but would that work for ALL angles? The reason I want to do it THIS way instead of rotating the object 90 degrees is because it may not be exactly 90 degrees out of proportion, so I would like to write a function that would calculate the new ‘frontal’ coordinates of an object without rotating that object itself where the new ‘frontal’ coordinates would be based on another position in world space.

I must admit that you lost me about halfway through the first sentence :slight_smile:

A couple of questions:

  1. What does it mean for an arm to ‘look at’ a hand? Do you mean for the arm to be oriented towards the hand, or something like that?

  2. What does it mean for the ‘front’ of an object to change without the orientation changing? Are you talking about some sort of local-space re-orientation?