Jump to content
  • Advertisement

Archived

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

Goodlife

Getting a vector

This topic is 6546 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 everyone, Is there some simple operation for getting the vector between two points? The method I have now involves taking the arc-tangent of the x/y, x/z, y/z directions and seems a little lengthy. Thanks! -- Goodlife ----------------------------- Think of your mind as a door on a house. Leave the door always closed, and it's not a house, it's a prison. Leave the door always open, and it's not a house, it's a wilderness-- all the vermin creep in.

Share this post


Link to post
Share on other sites
Advertisement
don''t you simply have to substract the points to get a vector between them?

ArgoN

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!