x and y coordinates update from physics to game