Jump to content
  • Advertisement


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



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

Can someone please tell me why I cannot get accurate values for finding if a point lies in a plane. I have this setup so far a simple grid with the axis like this Y/ /Z / / // --------X I Create square primitives on the X and Z plane as length and width. Height is measured in the Y plane. the tiles look like this 0--1 Two polygons forming my rectangle / // // / 2--3 Now i have a function that tells me exactly what side, or what poly im in- in either poly 0,1,2 or poly 1,3,2 Then i take the three known points for the poly that im in lets say 0,1,2 ''note the whole reason for this is that I always know my x and z locations but am trying to find where my Y value should be to place me on the plane or poly im in. at this point im using the plane equation but it isnt comming out correctly. can someone maybe give an example of how to find for Y in the plane equation considering the above axis orientation ?

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!