Hey Rob, I managed to get something working today, but I ended up having to use the face.faceIndex property of the event, and then doing something with that number. Using face.mesh only returns the container.
Still, faceIndex has meant that this will still work for what I'm working on, I've just added a listener to an object container which contains Sprite3Ds exclusively. Thanks for all the advice! Kevin. On Thu, Sep 16, 2010 at 6:24 PM, Rob Bateman <[email protected]> wrote: > Hey Kevin > > yes, you should be able to detect the face from which a MouseEvent3D > originated by using the 'face' property on the event. let me know if it > works for you > > cheers > > Rob > > > On Fri, Sep 10, 2010 at 10:03 AM, Kevin CFY <[email protected]> wrote: > >> Hey Rob, >> >> Was this fixed? It'd be really useful for something I'm working on at the >> moment - the Sprite3D class is letting me put a crazy amount of sprites on >> screen! >> >> Kevin. >> >> >> On Tue, Mar 30, 2010 at 2:43 AM, Rob Bateman <[email protected]>wrote: >> >>> Hey Anton >>> >>> the architecture of Lite doesn't include sprites in the same >>> inheritancesas object3d objects for performance reasons, but it would be >>> possible to listen for 3d events on the container that contains the sprite3D >>> objects and pull out the sprite Face object being used... that is, if the >>> face object is passed to the mouseevent3D object which it currently is not. >>> oops! let me see about fixing that - then at least you will be able to >>> discriminate between mouse events from different sprite3D objects >>> >>> Rob >>> >>> >>> >>> On Tue, Mar 23, 2010 at 11:36 AM, [email protected] < >>> [email protected]> wrote: >>> >>>> On Mar 17, 2:55 pm, Icek <[email protected]> wrote: >>>> > It doesn't work in away3dlite 1.0.4. At least for me. I've added a >>>> > listener, >>>> > but no MouseEvents are dispatched. >>>> >>>> The same=( >>>> >>>> To unsubscribe from this group, send email to away3d-dev+ >>>> unsubscribegooglegroups.com or reply to this email with the words >>>> "REMOVE ME" as the subject. >>>> >>> >>> >>> >>> -- >>> Rob Bateman >>> Flash Development & Consultancy >>> >>> [email protected] >>> www.infiniteturtles.co.uk >>> www.away3d.com >>> >>> To unsubscribe from this group, send email to away3d-dev+ >>> unsubscribegooglegroups.com or reply to this email with the words >>> "REMOVE ME" as the subject. >>> >> >> > > > -- > Rob Bateman > Flash Development & Consultancy > > [email protected] > www.infiniteturtles.co.uk > www.away3d.com >
