Jump to content
  • Advertisement
Sign in to follow this  
Mythar

3D Line Math ?

This topic is 4623 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

I have a line defined by vector A and B. I want to find a point on this line. (I want to find where the line intersects with an axis) Point I want to find = x,y,z What would x and y be if z = 0 ? What would x and z be if y = 0 ? What would y and z be if x = 0 ? Hope this makes any sence to you :)

Share this post


Link to post
Share on other sites
Advertisement
Google 'ray plane intersection'. (In your post you're asking about the cardinal planes, for which the solution simplifies somewhat, but it's good to know the general solution anyway.)

You should be able to find all the info you need online.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!