Hey guys. A few weeks ago I was experimenting with bending primitives
and the as3dmod class:
http://www.nickbee.com/bend
All worked well and now I'm trying to replicate my results with loaded
3dObjects from Prefab.
I'm importing my objects from as files like so:
var _bendRight:Mesh;
var modStackRight:ModifierStack;
var bendRight:Bend;
//bendRight
_bendRight = new R_prongMid(_loaderScale);//R_prongMid.as class is the
imported(Outputed from prefab)
_bendRight.scale(_loaderScale);
_bendRight.y = 110;
_bendRight.x = 0;
_container.addChild(_bendRight);
//bend modifier
modStackRight = new ModifierStack(new LibraryAway3d(), _bendRight);
bendRight = new Bend(0,0);
bendRight.offset = 0; // top or bottom 0 to 1
modStackRight.addModifier(bendRight);
bendRight.force = .6;
modStackRight.apply();
No errors are being kicked back but my object is not bending at all.
If I replace my imported mesh with a cylinder primitive things bend as
expected.
Any ideas?
THANKS!