Fixed rotating bug, and made the field to an .obj file