I have been wondering about this. I have scenes working well with the getChildByName, but I have the situation now where I won't know the identifier. Been working on some workarounds in order to initiate interactivity on a collada more generically, but nothing really robust. Anyone got any ideas?
http//:www.ipodhoodie.co.uk
--- On Thu, 31/7/08, AngelicD <
raul.companioni@...> wrote:
> From: AngelicD <
raul.companioni@...>
> Subject: Re: [Papervision3D] Collada InteractiveScene3DEvent
> To:
papervision3D@...
> Date: Thursday, 31 July, 2008, 8:59 PM
> OK, but I need to do it more generically, meaning I will
> never know the
> child's name of a dae before hand, cause it can be any
> random dae that may
> be loaded, is there a way to do it without getChildByName?
>
> Also i just noticed that for at least a plane, which is
> what i have events
> working with, if you set the plane.useOwnContainer = true
> property sot that
> you may apply alpha, the events stop working! Any ideas how
> I can have this
> so that my plane can have alpha and also have listeners?
>
> Thanks
>
>
> tmyers wrote:
> >
> >
> > you need to get a ref of child object in your collada
> and attach listener
> > here instead of collada container
> >
> > myDAEObject.getChildByName("object_name",
> > true).addEventListener(InteractiveScene3DEvent...
> >
>
> --
> View this message in context:
>
http://www.nabble.com/Collada-InteractiveScene3DEvent-tp18760172p18762328.html> Sent from the Papervision3D mailing list archive at
> Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
>
Papervision3D@...
>
http://osflash.org/mailman/listinfo/papervision3d_osflash.org __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo!
http://uk.docs.yahoo.com/ymail/new.html_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org