Camera Target Arm + Character Velocity


GOAL: Target arm to be 300units away from character unless character is moving, then I add the velocity + 300offset to the arm. When he stops it should go back to the 300 unit offset.

Right now it keeps on adding 300+velocity.

How can I snap it back to 300 if velocity is going down back to 0.

I’m using an Event Tick right now so it updates all the time.



Seems pretty simple can anyone point me in the right direction or have an idea?

If you add a bool as condition for a branch at tick start and set this bool : true on moving key pressed / false on moving key released, then you can link your actual setting on true and set your arm length 300 on false of the branch.