Jump to content
• ### What is your GameDev Story?

• Advertisement

#### Archived

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

# Plane

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

##### Share on other sites
Advertisement
Are we talking about 3D?

#### Share this post

##### Share on other sites

• Advertisement
• Advertisement
• ### What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

(You must login to your GameDev.net account.)

• ### Popular Now

• 11
• 13
• 9
• 9
• 15
• Advertisement
• ### Forum Statistics

• Total Topics
634078
• Total Posts
3015375
×

## 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!