Compute walking trajectory from a desired 2D velocity vector