Jump to content
  • Advertisement

Archived

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

dagamer34

Vectors and Angles

This topic is 5545 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 was wanting to know how to get the angle out of a vector on a certain plane, like the x-z plane or the y-z plane. I need this so i can move and rotate my camera correctly to where it is aligned with the x axis, then rotate it along the z axis so and rotate and move it back so it seems like i was rotating the camera up and down. Don''t worry if i confused you. Just need the angle of a vector on a plane like x-z and y-z. Anybody know how to do it??

Share this post


Link to post
Share on other sites
Advertisement
hey, these functions are giving off wierd values. Like i tested the values 1 and 1 which we all know is 45 degrees and it gave me 0.785398. It''s almost as if they are in radians....

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
have you ever used a programming languages math function? of course its in radians...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
"hey, these functions are giving off wierd values. Like i tested the values 1 and 1 which we all know is 45 degrees and it gave me 0.785398. It''s almost as if they are in radians.... "

LOL

wise saying: If a result is almost what you think it is then why can''t it be what you think it is.

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.

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!