I have written a short tutorial (rotation.zip 264K ) describing the Orientation matrix (the matrix you get when calling getOrientation() on a game object), and how to use it for some rotation problems (eg. flipping an object upright, or pointing one object in another’s direction).

Be warned though, the tutorial is fairly mathematical, and the reader is assumed to be familiar with basic concepts of vectors and matrices.

I’d appreciate comments and suggestions.