def reset_to_initial(self):
        """ Resets the camera to the initial position """
        self.showbase.camera.set_pos(self.initial_position)

        if self.use_hpr:
            self.showbase.camera.set_hpr(self.initial_hpr)
        else:
            self.showbase.camera.look_at(
                self.initial_destination.x, self.initial_destination.y, self.initial_destination.z
            )
 Resets the camera to the initial position 
metadrive/render_pipeline/rpcore/util/movement_controller.py