Skip to main content
GameDev.net gamedev.net
🔒 Locked

working with rotations

Started by hannibar Mar 21, 2005 at 3:26 PM 1 replies 1.3k views
Original Post
hannibar
hannibar
I have a rotation matrices, and I have to do a few things with it. If the matrix represents the rotations around three axis, 1) how do you apply the rotation around 1 axis to another matrix ? for example : I want the other matrix to have only the y-rotation of the other axis. For example, when I want a 3rd person camera. 2) how do you set the rotation around a specific axis to a value. But without touching the rotations around the other axis ? For example, when I want a camera to look at a specific height. 3) how can you get the inverse rotation ? Thanks in advance. [Edited by - hannibar on March 21, 2005 4:36:12 PM]
hannibar
hannibar
Quote:
There's one handy FAQ which deals with all things matrix related; I've lost the link, maybe someone else knows the name of the site..
I did a search on google. It probably is :
http://skal.planet-d.net/demo/matrixfaq.htm
Although it is a VERY interesting link (I'll read it a little better when I have more time), it doesn't answer my question 1) and 2).

So if anyone knows an answer to these, feel free to post it.

Thanks

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.