line=new LineSegment({material:new WireColorMaterial("black"), start:new
Number3D(-150,0,-300), end:new Number3D(150,0,300)});
view.addChild(line);You can chabnge the thickness : line.material.width=8; line.material.alpha=.1; Should work, let me know! -Pete On Thu, Feb 12, 2009 at 10:40 AM, Shengzhi <[email protected]> wrote: > > Hi all, > > I just started learning Away3D two days ago and it's been great fun. > Apologies in advance if this post is in the wrong place or overly > obvious. > > I would like to draw a line in 3D space, e.g. from point 0,0,0 to > 150,50,100 with say thickness=1, color=black. What is the simplest way > to do this? > > I was looking at the PathExtrude class but I don't need any cool > extrusions, just a simple line. > > Thank you > > Regards, > > Shengzhi -- ___________________ Actionscript 3.0 Flash 3D Graphics Engine HTTP://AWAY3D.COM
