drivetrain rotate logic