Hi, I’m using the third person template. I have turned down ground friction so the character sides, but I don’t want it to slide sideways.
Is there any way to get sideways velocity as a float so I can plug it into Add Force like this:
Thanks!
Hi, Furroy. Thanks for your help. I think that gets world velocity, rather than local velocity. So X returns a value if I run N/S and Y returns E/W, instead of sideways drift.
You get the right vector and the velocity vector of the actor then calculate their dot product. It would give you the sideways velocity with positive values indicating speed to right and negatives indicating speed to left.
Thank You!! Literally NO ONE anywhere could answer this simple question except you!