I was just wondering, is there a special reason NOT to use physics to create the rotation?
When creating a physics game using other behaviours and getting them to interact can cause issues, so why not use torque to create the rotating box?
As long as you are using the RotateTo plugin I will not be able to help..