Jump to content
  • Advertisement

Archived

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

PumpkinPieman

How do you rotate a vector on a point.

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

Here''s a little diagram. The camera is on the cylinder right by that line and is facing down. I don''t really know how this would be done but how to you rotate a vector around the top of that cone (Given X degree''s or radians)?
Pumpkin Pieman - [Blogger]

Go to war again, blood is freedom''s stain, But don''t you pray for my soul anymore.

Share this post


Link to post
Share on other sites
Advertisement
Simple trig isnt it?

z = cos(x)
x = sin(z)

Or somthing along those lines, can also be done with vectors using the dot product..

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!