Camera Lag does not change via lerp?

Hello!
I am using a true first person camera, but since I added a crouch function, I noticed that the movement of the head is waay to sharp and could also lead to motion sickness.
So I decided to rework the camera, add a spring arm and the movement itself is very smooth with a camera lag, but I only want the lag during the crouch.
This works as well, via the bool provided from the spring arm, but once the player exits the crouch, the camera gets jitted back to its original place very abruptly.
So I thought I could use a timeline to just change the camera lag to zero, once the player exits the crouch and the camera would smoothly transition back to its original place.
However, even though the timeline changes the value, in game, nothing happens.
The value drops from 10 to 0, but the smoothing is still exactly the same.
Am I handlign the camera lag speed value wrong here?

1 Like

These are 2 different variables. Did you mean to set the Springarm’s Lag speed instead?

I thought it is? I right click the green node and clicked promote to variable, isnt that the right way?

I think I found it, when dragged from the spring arm, I can set the camera lag speed and the green float now also shows a target!

1 Like

That would create a new float var that is no way associated with the camera. The camera already has one:

and the green float now also shows a target!

Precisely!

1 Like