Each frame, I am trying to change the rotation pivot of an object from (0,-135,0) to (0,0,0) before doing a rotateAxis() on it, and then change the rotation pivot back to (0,-135,0) afterwards. It seems like the following code should work:
myObject.setRotationPivot( new SimpleVector( 0, 0, 0 ) );
myObject.rotateAxis( myObject.getZAxis(), radZ );
myObject.setRotationPivot( new SimpleVector( 0, -135.0f, 0 ) );
Instead, the object just rotates around the original pivot (0,-135,0), the same as if I don't put any setRotationPivot()'s in there at all. I am sure there is a simple solution to this, but I can't seem figure it out.