mouse3d and orthographic camera not working properly

Software: Away3D 4.x

room101, Newbie
Posted: 28 August 2014 02:28 AM   Total Posts: 14

hi, I’m using a fairly recent version of away3d, not sure exactly which one

if I’m using mouse 3-D events and meshes using a perspective camera, the events register correctly, but if I change the camera to an orthographic one, the 3-D mouse events work on some meshes, but do not work on others. In my particular project, where I combine 2-D and 3-D elements, and I actually need to move the 3-D elements only on 2 dimensions, an orthographic camera makes it look better than a perspective one.
It’s not a big deal, but I’m bringing it up on this forum anyway, in case someone has an idea.
Thanks!

   

John Brookes, Moderator
Posted: 28 August 2014 06:13 AM   Total Posts: 732   [ # 1 ]

Fix is here
https://github.com/away3d/away3d-core-fp11/issues/683

   

room101, Newbie
Posted: 28 August 2014 04:05 PM   Total Posts: 14   [ # 2 ]

thank you very much! indeed, updating OrthographicLens at line 57 to

v.= -nY translation.y

fixed my problem
. Thank you again!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X