Get Characters current walking speed

It doesn’t seem to work. I’m getting completely “random” numbers. I’m thinking of doing something like in this: How to get local velocity? - Blueprint - Epic Developer Community Forums
Though I ran out of ideas how to get the forward vector of actor rotation. Also, what does the DotProduct actually do?