Added logs and Make camera work on rotate.