Calculating new rotation vector given current rotation vector and velocity vector

Hi everyone.

I don't even know if this might be possible but just in case:

If given a current rotation of an object in 3d space Vect(x, y, z) where x = rotation in the x-axis by x degrees and y = rotation in the y-axis by y degrees and y = rotation in the z-axis by z degrees. . . for example

VectRot1(90, 0, 0)

and a velocity Vect(x, y, z), representing the speeds in each axis for example

Vect(5, 1, 2)

is it possible to calculate the new rotation vector of the object and if so how can this be done?

-
 Yes, but this may not be the right place to get into it. You can use rotation matrices but this is messy. A more efficient method is via quaternions. There's probably a wikepedia page for that somewhere.... – Donu Arapura Jul 13 2011 at 12:53 Thanks for the quick reply. Apologies if this was an incorrect place to put the question. I am looking at rotation matrices and those are simple enough to understand but I do have a question regarding them namely, how can you calculate the angle of rotation? – Fido Jul 13 2011 at 13:03 No problem. There is a great deal of information about this topic. You can start from here en.wikipedia.org/wiki/Rotation_matrix – Donu Arapura Jul 13 2011 at 13:08 Is it correct to calculate the angle between my velocity vector and rotation vector and then use this angle in the rotation matrix? Would this result in the rotation needed? – Fido Jul 13 2011 at 13:11 This is a frequent type of question on math.stackexchange.com, try that – Will Jagy Jul 13 2011 at 18:36