Making a capsule move over the found path