Skip to main content
gamedev.net
🔒 Locked

Storing Rotation

Started by JackNathan 1 reply 800+ views
Original Post
JackNathan
JackNathan
I like using heading, pitch, and roll. D3DX provides a nice utility function to turn it into a matrix. But I''ve heard this really isn''t the preferred way. Can someone tell me why? Jack
Friday13
Friday13
Well, IMHO, if your pitch is +/- 90 deg. (nose
straight up or straight down) you can''t tell exactly what your heading nor roll (bank) is. The alternative way of storing orientation may be a longitudal vector and degree of roll around that vector (which is effectively a quaternion).

Topic Locked

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

Sign in to reply to this topic.