From what I’ve read if I want to create a display object with child display objects I should use a group. for example
local cube2 = display.newRect( groupy, 0, 0, 20, 20 ) local cube = display.newRect( groupy, 20, 20, 20, 20 ) groupy.x, groupy.y = 100,100 physics.addBody( groupy, 'static' )
this is fine… now when I move “groupy” around my display objects stick together as expected… the problem is when I add my physics body to it. I get a very weird physics boundary. I’d expect it to stick to the edges of it’s contents but it doesnt. What is going on here??
