This took longer than it probably should...

Because I'm not using any build in collision systems, I had to write out the position of the box at a specified point in time on straight lines and corners (and while getting jumping and lane switching to work)!