Using the camera rotation axis to rotate an object

this feels to me a little similar to this thread which helped me out a lot doing similar stuff where we want to spin the object regardless of its local orientation. Implementing Arc Rotate Object like Arc Rotate camera - #3 by Anupam_Das