Each Face has got an array of vertices. Access them via that array.I did
what you are trying to do a few days ago and it works.Just remember to loop
through each of 3 vertices of a given face and move them with Vector3D
offset values.

On Wed, Dec 22, 2010 at 7:03 PM, Peter <[email protected]> wrote:

> Thanks. But vertices is a read-only property. Don't see how I would
> use it to move the face?
>
> Peter
>
> On Dec 22, 5:00 pm, Michael Iv <[email protected]> wrote:
> > He is right .You can't call such a ,method anymore from Face class.But
> the
> > workaround is to move the vertices of that face instead and you will get
> the
> > same result
> >
> >
> >
> >
> >
> > On Wed, Dec 22, 2010 at 4:47 PM, John Brookes <[email protected]>
> wrote:
> > > offset is in the element class which face extends, so it is there.
> > > At least it is in the svn tags 3.6.0 lib
> >
> > > On 22 December 2010 14:29, Peter <[email protected]> wrote:
> >
> > >> Hi,
> >
> > >> I'm reading The Essential Guide To 3D In Flash, Chapter 6 talks about
> > >> adding Faces to a Mesh, calling offset() on a face. The method
> > >> offset() is not supported (anymore). I couldn't find anything about
> > >> deprecating this method so my question is how to position a face in a
> > >> mesh? Or, are there any code updates available for the book?
> >
> > >> Thanks,
> >
> > >> Peter
> >
> > --
> > Michael Ivanov ,Programmer
> > Neurotech Solutions Ltd.
> > Flex|Air
> |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp://
> www.meetup.com/GO3D-Games-Opensource-3D/
> > Tel:054-4962254
> > [email protected]
> > [email protected]




-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com
http://blog.alladvanced.net
http://www.meetup.com/GO3D-Games-Opensource-3D/
Tel:054-4962254
[email protected]
[email protected]

Reply via email to