onLoad:
var _armatureDisplay = this.getComponent(dragonBones.ArmatureDisplay);
this.ddc_luntai2 = _armatureDisplay.armature().getBone(“ddc_luntai2”);
update :
if (CC_JSB)
{
this.ddc_luntai2.offset.setRotation(this.angle * Math.PI/180);
}
else
{
this.ddc_luntai2.offset.rotation = this.angle * Math.PI/180;
}
发现ddc_luntai2根本不能旋转。
