Hey Ian,
Paste it in the examples sections as well!!

A little detail, you have the closepath:true, this is not necessary, in this case you make a connection of the last points array to the first one. Causing faces overlap. This feature is there to allow you to make a ring or a cube: a closed shape.
it's joining last series of points to the first serie.

Fabrice



On Sep 27, 2008, at 2:35 AM, Ian Stokes wrote:


Hi,

I had some mental blocks with skin extrude originally so I thought I'd
share an example method
for other mentally challenged folks :)


private function testSkin():void {
                        var points:Array=new Array(new Array(new 
Number3D(0,-10,0),new
Number3D(10,-10,0)),new Array(new Number3D(0,10,0),new
Number3D(10,10,-5)))
           _testSkin = new SkinExtrude(points,
{material :"red#",recenter:true,closepath:true,coverall:true,subdivision:
3,bothsides:true,flip:false});
                   _container.addChild(_testSkin);
                }


* make a rectangle skin with 3 subdivisions

Reply via email to