How to achieve a delayed, smooth "bodycam style" camera rotation?

Hello everyone! Godot4.7.1

I am trying to recreate the camera movement commonly seen in realistic bodycam style games. When the player moves the mouse, I don’t want the camera to snap to the new rotation instantly. Instead, I want it to have a delayed, smooth, and inertial feeling—as if the camera is dragging slightly behind the mouse input.

What is the best way to achieve this smooth/delayed rotation effect in Godot 4? Are there specific nodes for this, or should I just use lerp_angle on the mouse inputs?

Any advice, tips, or code examples would be greatly appreciated. Thanks in advance!

Yes, create a separate variable target_rotation that you change directly with your mouse input. Then use lerp_angle() to smoothly rotate the actual rotation towards target_rotation.