Sample of devicemotion with Box2d