I was starting to play around with the game engine (Blender 2.63) and stumbled into a problem not beeing able to rotate Vector.
While the Api says there is a function in the vector class which takes two arguments : rotate(axis,angle),
the Compiler on the other Hand sayed he wanted only one argument in Form of a rotationmatrix.
Ok, i thougth. Lets do that so i created that Matrix by
You can rotate a vector with an Euler, Quaternion, or a Matrix. The results of doing the rotation are applied to the object itself. Try this in the python console.
Fine, thanks a alot. That did the job.
I was a bit lazy yesterday while reading the API and didnt recognized the type of the axis given in Matrix.Rotation
But in case of the vector the Api did not seem to be correct or is has the behaviour of vector changed in 2.64?
Anyway i now can rotate my vectors.