[Papervision3D] interactive objects
quinrou at gmail.com
Wed Jul 1 04:59:22 PDT 2009
I am having problems to get the the object_press and object_click event
My setup is as follow:
I have set my 3d scene to be interactive.
I have a main viewport layer container when i add different display object
3d with the getChildLayer method from the ViewportLayer class.
One of these viewport layer holds several display object 3d. these display
object 3d hold 2 display object3d (2 planes). I have set event listeners for
object_click and object_press for both planes. The texture for both planes
have their intereactive property set to true too.
However the click and the press event are not fired.
What am I missing something?
here is how my scene is achitected:
+mainViewportLayer (viewport layer)
+objectcontainer1 (added via getChildLayer to mainViewportLayer)
+objectconatiner2 (added via getChildLayer to mainViewportLayer)
+objectcontainer3 (added via getChildLayer to mainViewportLayer)
+obj1 (added to objectcontainer3 via addChild)
+obj2 (added to objectcontainer3 via addChild)
+obj3 (added to objectcontainer3 via addChild)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D