I think to study orientation of ligand, you should choose three points in ligand to defined a plane and then compute angle between that plane in each frame vs the first frame( use module gangle). I don't know whether I misunderstand your question or not. Best regard, Quyền