Optimised slightly and made translating the body through keyframes possible