i thought you just needed the up vector at first but i stopped getting what you said once you got to the pi part. is that all you need to do is calculate the up vector?