Except for the profile and the path where you would have to pass
Number3D's,
This example is 2 lines of code using the pathextrude and the
PathDuplicator...
about animating, if you generate 2 states or more and pass it to
Animator class
its just a few extra lines :))
Fabrice
On Aug 31, 2008, at 11:13 PM, tain wrote:
Oh thanks for info :)
anyway i dont intent to do static ribbons nor typical ones with
adding / removing parts. that create rather rigid bodies.
i have my style that follows 2 points, and rest just follows and
smooths path on the way.
so that 2 points can expand/contract, go faster/slower, even travel in
helix movement (like this: http://www.digitalproducer.com/pages/Jeff4/Helix.jpg
) and ribbon will follow.
i never done it in this basic way with controling vertices but i hope
it will work just fine :)
On Aug 31, 10:37 pm, Fabrice <[EMAIL PROTECTED]> wrote:
Hey Tain,
you can also do ribbons right out of the box using the PathExtrude
class.
just pass 2 Number3D as profile , define a path and you are done.
you also could cast if you keep the Object3D typing.
Like this: (myPlane as Mesh).vertices
Fabrice
On Aug 31, 2008, at 9:51 PM, tain wrote:
ok, sorry for trouble, i guess i was looking at some old examples,
I just replaced Object3D with Plane variable type and it works.
Wierd becouse when i set Object3D it still renders the object
correctly and thats whats been confusing me.
well its ok now, i continue to create Ribbons.
will update later.
On Aug 31, 9:28 pm, tain <[EMAIL PROTECTED]> wrote:
hi,
i wanted to create 3d ribbons in away3d and i found problems at
very
basic things.
when i create plane with,
var plane:Object3D = new Plane(.......);
and try to trace(plane.vertices); it says 'vertices' are not
defined.
i see in examples just to write myObject.vertices[x] to access the
vertex but that aint working.
so how can i access a vertex?