Changed so that rotation happens around offset.