I don't see how movement (walk, run) is tied to ORK. I am checking the 3D Action RPG scene with Ellen.
She has an animation controller with a Movement blend which has the Speed parameter, and I see how speed is setup in ORK. But the rest?
I don't see where the 'Movement' blend is set up in ORK. And the walk animation is called EllenWalkForward, meanwhile in the 'Animation Types' we have Walk Type: 1: Walk set.
And how is this connected to the Base/Control - Input Keys - Horizontal Move?
Interestingly I see how the attacks are setup in ORK, but I don't find the movements.
That's why we don't have to setup the movement animations in ORK.
I just got confused because in the Base/Control - Animation Types there is Walk and Run, but even if I delete them, the demo game works just fine.
There are generally 3 ways (in ORK) to handle movement animations:
- use auto movement animations (set up in combatants) to play defined animation types based on speed (best used for legacy animations)
- use Mecanim animation setup to forward movement speed, rotation, etc. and have the animator controller handle it (doesn't work for root motion, since here the movement comes from the animation, but they depend on the speed the game object is moving with)
- use ORK's Button player controls in root motion move type to set the move speed via the parameter (only works for root motion)
Naturally, you can use any other custom way you want to handle it, though. E.g. via a custom script, schematics or custom controls setting animator controller parameters.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!