Smooth Crouch, however only works once

This blueprint shows a smooth crouching system, using a timeline and lerp:

However, when I try this out I-game, the smooth crouch seems to only happen once, the next crouch are just an immediate change in height which does not look good. Any suggestions on how to fix this?

Note: The timelines are connected to a “Crouch” Action Event, and the “Set Character Full Height” is connected to an “Event BeginPlay”.

Another Note: “Can Crouch” is also on. It wasn’t on before, however it does not matter whether it is on or off, the problem still remains.

  1. Use Play From Start for Crouch, and Reverse From End for Uncrouchin one Timeline. But it is better to use function which changes float Alpha value from 0 to 1 and vice versa.

  2. On UnCrouch use capsule trace to detect ceils/objects above player to understand is uncrouch possible at all.

  3. During Uncrouch character can stuck in floor, so maybe you need to move character up on half of crouch height.

Resolved! Cheers mate, appreciate it. However, I’m not implementing the object detection feature my crouch is going to be more of a sneak, where enemies find it harder to “hear” you, I guess. Plus, I shouldn’t get stuck in the floor as I’m not using third person, but I’ll try it anyway.

Thanks!