Potential Bug with Mouse Events

Software: Away3D 4.x

medellin, Newbie
Posted: 12 December 2012 03:42 PM   Total Posts: 8

I’m new to Away3D, so I don’t know if this is a bug, but it looks like it is:

//mouse event will not fire
view3D.camera.= -10000;
view3D.camera.5000;
view3D.camera.lens.far 50000;
view3D.camera.lookAt(new Vector3D());

//mouse event will fire
//view3D.camera.z = -1000;
//view3D.camera.y = 1000;

var plane:Mesh = new Mesh(new PlaneGeometry(1000010000), new ColorMaterial());
plane.mouseEnabled true;
plane.addEventListener(MouseEvent3D.MOUSE_UPonMouseUp2);
plane.= -200;
view3D.scene.addChild(plane);

function 
onMouseUp2(event:MouseEvent3D):void
{
      trace
('called2');

If the camera is too far away the mouse detection fails.

   

medellin, Newbie
Posted: 13 December 2012 03:20 PM   Total Posts: 8   [ # 1 ]

Can anyone reproduce this?

   
   
‹‹ Issue in Drag3D

X

Away3D Forum

Member Login

Username

Password

Remember_me



X