calculate 3d rotation of projectile based on direction
after giving katie's post a thorough second read-through, and addressing the row vs. column ordering issue, i got it working. i used glGetFloatv(GL_MODELVIEW_MATRIX, m) to get my up, and filled the result matrix like explained. i found another external reference to clear up a few things and with a call to glMultMatrixf(rm) the projectile was aligned with it's path. now i just need to study this for a while longer to actually understand "why" it works. thanks katie!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement