physics engine reading from tile engine