Magnetic Flux Pinning in 5 and 6 Degrees of Freedom