Read First
Before I ask my question, let me state that I am aware that scaling an object AFTER you add a physics body, will not scale the body. In fact, you cannot scale bodies at all.
The Question
My question is, “Has there been a change recently that affects scaling before adding the body?”
For some reason I recall this working in the past:
local tmp = display.newCircle( 0, 0, 100 ) tmp.xScale = 0.5 tmp.yScale = 0.5 physics.addBody( tmp )
i.e. I though this was equivalent to this:
local tmp = display.newCircle( 0, 0, 50 ) physics.addBody( tmp )
I just noticed this is not true in 2015.2669. Now, when I add a body AFTER scaling, I get a body that is the full size of the un-scaled object.
Thanks,
Ed