How locomotion system identifies the animation that makes walking and those animations that make run? By the duration of the animations?
Thanks!
How locomotion system identifies the animation that makes walking and those animations that make run? By the duration of the animations?
Thanks!
It doesn’t know or care about walk versus run; all it cares about is velocity. It determines their velocity by extrapolating a velocity from each leg’s support phase (the time during which it is on the ground) and its foot displacement during that phase, and averaging the results. So for instance, if each foot is on the ground for 60% of a two-second cycle, and moves from z-position 1 to z-position -1 during its support phase, the calculated velocity is 1.67.