Setting camera location through Event Tick makes it jitter/stutter

I wanted to make camera lag only for Z axis and i’m using this code, basically im updating camera’s location on event Tick, which results in stuttering and jittering on high speeds, Is there a setting for interpolation or something like that, or is there a way to create camera lag only for Z axis without using Event Tick?

in blueprint u can try to create a CameraModifier Blueprint Class, It is a specialized class for camera effects, in c++ u can override the camera lag :eyes:

Hi, if you’re sweeping that may be making it lag by forcing it to do wait a frame before doing the result (as bp async nodes always wait for next tick even if they don’t need to), or it could be making it sweep and then teleport to slightly different coords due to floating point errors potentially.

You should try using lerp and interpTo nodes for the individual floats of x y z of your target location and plug in the deltatime as that should get you a smoother result.