Hi David,
Consider the following code, where I set up a parent group, anchor its children, then insert a “bounds” object which may represent the maximum bounds of everything within (this could and should be set to invisible at some point… or it may not be necessary to add it at all). Then, I place various objects in the group, set its own anchorX to 0, and move/rotate it. I also move around the children inside, and you’ll notice they move in accordance to how the parent is moving.
[lua]
local animGroup = display.newGroup()
animGroup.anchorChildren = true
local bounds = display.newRect( animGroup, 0,0,300,300 )
bounds:setFillColor( 0,0,0,0.4 )
local a1 = display.newRect( animGroup, -50,-20,100,100 )
a1:setFillColor( 1,0,0 )
local a2 = display.newRect( animGroup, 50,0,100,100 )
a2:setFillColor( 0,1,0 )
local a3 = display.newRect( animGroup, 0,100,100,100 )
a3:setFillColor( 0,0,1 )
local a4 = display.newRect( animGroup, 100,100,100,100 )
a4:setFillColor( 1 )
animGroup.x = 400
animGroup.y = 200
–animGroup.rotation = 10
animGroup.anchorX = 0
transition.to( animGroup, { time=5000, rotation=50, x=200 } )
transition.to( a2, { time=3000, x=100, rotation=50 } )
transition.to( a4, { time=5000, x=-100 } )
[/lua]
Not sure if this helps… perhaps I’m not clear on your overall setup.
Brent