events in bsp tree

Software: Away3D 3.x

Andrusza, Newbie
Posted: 19 December 2011 06:46 PM   Total Posts: 5

how to add events to objects added to bsp tree?

cube.addEventListener(MouseEvent3D.MOUSE_DOWN,objectClick);
_tree.addChild(cube); 

does not work

cube.addEventListener(MouseEvent3D.MOUSE_DOWN,objectClick);
_view.scene.addChild(cube); 

works but then I can see object through the walls :S

   
   
‹‹ shadow resolution

X

Away3D Forum

Member Login

Username

Password

Remember_me



X