This is how you do it in BP_ThirdPersonCharacter in Third Person Template
BP_ThirdPersonCharacter
Third Person Template
You already have this. Just add gate, as I did, and it will work.
gate
And with Gate, it looks like this: