I would like to change the center point of my image, the position (in the world) works fine, but not the center point (in the sprite), the link for the Sprite API : http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g2d/Sprite.html#setOriginCenter()
only setOrigin is available in the methods for a Sprite, and changing it with -100,-100 or 0,0 does not change anything. Would anyone know why?
sprite = new Sprite(tex);
sprite.setPosition(pos.x, pos.y);
sprite.setOrigin(-100,-100);//(sprite.getWidth()*0.5f, sprite.getHeight()*0.5f);//(0,0);
sprite.setSize(0.5f, 0.5f);