FlameDuck #1 but at 90 and -90 degrees Pitch (xrot), it utterly fails That's because Atan (Arcus Tanget) returns NaN in cases of 90 or -90. Usually you would need to get cotan for that (ofcourse there isn't such a function in Blitz). You can emulate it tho'.