There are moving platforms in the demo scene, in the "Gravity" room, that rotate between waypoints, just take a look at how they are set up. There is a parent game object which has the platform and the two waypoints as children. The waypoints' rotations are set accordingly. You can adjust how the platform rotates in its MovingPlatform component, e.g. adjusting the Rotation Interpolation.