How to write a smooth crouching script in blueprint?

@TJ Ballard / @spaid
still haven’t figured out a way to get rid of the possibility to clip into objects.
tried to play around with the radius of the trace. but if i set it too high, i’m pretty unlikely to clip into the edge of an object above me, but i also can’t uncrouch anymore when i’m standing right next to a wall without anything above me, which is not wanted.
here’s my setup…

any idea, how to solve this?