How can I make a delay effect to the camera rotation?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By TecoSV

Hi, I would like to make a delay effect in my game when the camera changes the rotation, it doesn’t works properly when the objective of the camera is a kinematic body 2d that uses the move_and_slide() or move_and_collide() function, so I don’t know how to adapt my code to that behaviour because it seems that when using move_and_slide function it clamps the rotation_degrees to -180 and 180:
There is a link to google drive, so you can download a simple project that shows the problem.
Download the project