Custom Camera (Rotation) Lag stutter/alignment issues

Hi,

I’m working on a spacesim for which I need some camera lag, both for distance and rotation. However, the one that gets supplied with the spring arm has some stutter issues and also doesn’t follow the ship’s 360° rotations properly. After throwing together a simple custom camera actor for this, similar issues appear.

From what I could gather, the issue regarding rotation is due to the way UE handles the rotation values and that the RInterp function has issues going beyond 180/360°. Unfortunately I haven’t been able to come up with nor find a solution. I’m not sure what causes the stuttering regarding distance lag.

Video showing the issues:

Apologies for all the debugging stuff on screen.

Rotation lag function:

Distance lag function:

Both are called on Tick and use its Delta Time output as their input. I’d appreciate any help on this.

Do you have a screenshot of the camera movement input bp?