Hi,
i want to rotate the objects in a display group around center point
assume this code:
local gp=display.newGroup( ) local line1=display.newLine( 1,1,100,100 ) local line2=display.newLine( 100,0,0,100 ) gp:insert( line1 ) gp:insert( line2 ) gp.anchorX=.5 gp.anchorY=.5 gp:rotate( 90 )
but this group does not rotate relative to center point.I want to move group relative to red point like below image :
