Sign in to follow this  
yoni1993

Getting Side of a 3D Point based on Euler angle

Recommended Posts

yoni1993    122
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
Atrix256    539
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this