This would be super useful for images that need to rotate around a point that is not the center of the image (say…a tank turret, for example).
I was able to hack this with an image by:
turret.height = turret.height - 50 -- make the turret image smaller
turret:setReferencePoint(display.bc) -- put the reference point at the bottom center edge
turret.height = turret.height + 50 -- put the height back to normal
-- now the reference point that the image will rotate around is 50px from the bottom center.
However, this does not work if the image is placed inside a group and you try to do the same manipulation to the group.
[import]uid: 9048 topic_id: 8915 reply_id: 308915[/import]