Jump to content
  • Advertisement
Sign in to follow this  
yoni1993

Getting Side of a 3D Point based on Euler angle

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

Hello, Its a bit complicated so i didn't know how to search about this exactly. I have a 3D Point in 3DWorld, i want to know in which side the point is based on the Camera position / Angle. With Side, i mean, Up Down and Right Left. I thought i need use D3DXDotProduct but i dont even know where to start in order to use it. Thanks for any help :)

Share this post


Link to post
Share on other sites
Advertisement
You should project the 3d point so you have the 2d location of the point on the screen, then from there it should be really easy (ie if X > screen_width/2 etc)

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!