Original Post
ok, I''ve read a number of articles regarding this question yet for some reason I''m still missing something. I am trying to get a basic direction vector....this should be easy because I''m on a flat surface (not looking up or down, and no tilting left/right). according to the axis I''m working with (X,Y,Z)..the X axis rotate''s the view angle left/right. I have two points: position[3] and direction[3].
from what I''ve read, this should be as easy as saying
rotation[0]=(direction[0]-position[0]). ([0]=x, [1]=y etc.)
why is this not working...what am I missing?
thankyou in advance for all help. I know this topic has been talked about before, but the previous articles are not turning on any lightbulbs...