Hi all.
I have widgetSprite. I added the layer. Using WidgetSprite::setLayerTransform I rotate it.
sprite_env_but.setLayerTransform(1, rotateZ(30.0f*sl_environment.getValue()));
But it takes a pivot point in the upper left corner. How to rotate around its center?
Thanks.