I can't give a code for an infinite spinning box because I don't have such a code under hand. Since the infinite spinning box will be controlled by PhysX, you have to find the correct PhysX settings for the box (inital angular speed, angular damping set to zero, etc.).