I chose to use this algorithm because of it’s ease of implementation.
Duration Scaling
To make animations of different speeds and length blendable, the speed of the animations need to be altered depending on where we are sampling.
This is achieved by first lerping the duration of the animations appropriately. Then finding what fraction is needed to translate the animations’ durations to the lerped duration.
ASM Integration
The blendspaces can be added as states in the Animation State Machine. Plugging the parameters into the position values of the blendspace.