Hi. I would want add animation for backward movement, but i don’t know how. If i use regular (get velocity - get vector length) i get positive values anyway. How can get negative values of movement?
You can first, normalize the velocity, and then with a forward vector node use a dot product, what would return a value from 1 to -1 depending on the direction. For example if you’re going forward would return 1 (or 0.9999… velocity and forward ain’t perfect), when you go backward would return -1, and if you are going on sidewalk it would return a 0
2 Likes
Thanks.
Ur wellcome, if it worked marked the answer as solved so other people would try it
if run into the same problem