moai/moai-dev — Issue #102: Look into report of prop ATTR_X_SCL, ATTR_Y_SCL bug
Author: patrickmeehan
Created: 2012-01-17 23:28:07+00:00
State: open
Labels: Bug

From Bonozo:

Just fyi, I'm showing that for a Prop2D...

attachedProp:setAttrLink( MOAIProp2D.INHERIT_TRANSFORM, prop, MOAIProp2D.TRANSFORM_TRAIT )

works great, but...

attachedProp:setAttrLink:setAttrLink( MOAITransform.ATTR_X_SCL, prop , MOAITransform.ATTR_WORLD_X_SCL )
attachedProp:setAttrLink:setAttrLink( MOAITransform.ATTR_Y_SCL, prop , MOAITransform.ATTR_WORLD_Y_SCL )

and the scale is exaggerated, i.e. the attachedProp is larger or smaller than "prop".

Both images are same resolution ("prop" and "attachedProp")