Changed position and orientation to pointers