If you hit the cubes the collision makes you slightly move in a different direction (i don't think that is what you want). Maybe use an on trigger event or something.