When I was working on the walking cycle animation in week seven, the biggest issue was how to ensure the character didn’t slide.
After watching tutorials online, I tried adding the values of the left and right feet, which allowed me to get the correct number of steps on the Z-axis.

