Archived

This topic is now archived and is closed to further replies.

Vector question.

This topic is 5238 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there, I''m working with my camera class right now, and im kinda stuck with a vector problem. I have a vector, which tells me my current position. Then I have a normalized vector which tells me which way I am looking. How do I combine them? So instead of knowing which way I''m looking, I''m getting at "Look At Point", based on my position? /Anders

Share this post


Link to post
Share on other sites
quote:
Original post by McGyverDK
Hi there,

I''m working with my camera class right now, and im kinda stuck with a vector problem.

I have a vector, which tells me my current position. Then I have a normalized vector which tells me which way I am looking.

How do I combine them? So instead of knowing which way I''m looking, I''m getting at "Look At Point", based on my position?

/Anders



I''m not totally sure if I know what you''re trying to do, but it seems you just need to add the two vectors.



"Yeah, I would''ve killed you, but I''m glad I didn''t - the paperwork is a bitch"

Share this post


Link to post
Share on other sites