Hey folks,
I’m setting up my player movement animations at the moment and I’m using a blend space to blend between Idle (0.0f), walking (0.4f) and running (1.0f).
So to drive this I’m getting the length of the players movement vector, which of course is somewhere between 0.0f and 600.0f.
I’m just wondering if there’s a standard way of converting movement vector length to the (0.0f, 1.0f) range… or should I just divide the length by the current max movement speed from the character movement component?
I could modify my blend space so that the range matches the min/max movement speed of my player character, but the project is in it’s infancy and the fewer hard coded dependencies I have the better
Thanks for your help!