Ok, well imagine a cube, the surface on the floor has 4 sides, I want to tell it to rotate/flip on a particular side..

left flip
/-------------/
/ /
back flip / / forward flip
--------------
right flip

hope this makes sense to you!!!
Thanks