Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mouse events problems on OrthographicLens #469

Closed
dams-dev opened this issue Jan 28, 2013 · 2 comments
Closed

mouse events problems on OrthographicLens #469

dams-dev opened this issue Jan 28, 2013 · 2 comments
Assignees
Labels

Comments

@dams-dev
Copy link

Before updating to revision 11 I already had mouse problems with OrthographicLens (drag3d doesn't work and i had problems to retrieve mouse local position on a given plan)

When I update to revision 11, mouseDown event is no longer dispatch on mesh or sprite3D elements.

for instance :
_view3d = new View3D();
away3dContainer.addChild(_view3d);

_view3d.camera.lens = new OrthographicLens(); // when switch to OrthographicLens mouse event is not dispatch
_view3d.camera.y = 100;
_view3d.camera.z = 0;
_view3d.camera.x = 0;
_view3d.camera.lookAt(new Vector3D());

var map:Mesh = new Mesh(new PlaneGeometry(100,100), new ColorMaterial(0xFF00FF));
map.mouseEnabled = true;
map.addEventListener(MouseEvent3D.MOUSE_DOWN, mouseDownHandler);
_view3d.scene.addChild(map);

@CraigMurray
Copy link

Duplicate of issue #460 ... issue is in LensBase.unproject.

@ghost ghost assigned theethernaut Mar 23, 2013
@rob-bateman
Copy link
Member

fixed in commit 773ec07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants