[Papervision3D] DisplayObject3D and container sprites
bungadunga at gmail.com
Sat Oct 27 13:37:44 PDT 2007
That works great, thanks! Now I just need to fiddle with Tweener a little.
On 10/27/07, John Grden <neoriley at gmail.com> wrote:
> Hey Roy, you can use interactivity to accomplish the mouse events, so you
> don't need individual sprites - which would drag on the speed of your
> you can still use Tweener on the individual DO3D's (Displayobject3D) to do
> your animation of course.
> To do interactivity:
> pass a second boolean argument when you created Scene3D:
> var scen3d:Scene3D = new Scene3D(spriteContainer, true);
> then, when your material for the plane, set the interactive boolean to
> myMaterial.interactive = true;
> then, add your event listeners ot the DO3D directly:
> there you go!
> On 10/27/07, Roy Wiggins <bungadunga at gmail.com> wrote:
> > If I attach a series of planes to a DisplayObject3D, can I have them all
> > assigned a separate container sprite (I'm using the Phunky branch)? This
> > would make spinning this carousel I have set up much easier. I can spin the
> > camera, but it would be much nicer if I could just tell Tweener to ease the
> > whole ring of planes left and right while letting each one be individually
> > clickable.
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> [ JPG ]
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D