View3D.project() not working quite right

Software: Away3D 4.x

wagster, Member
Posted: 24 October 2011 08:55 PM   Total Posts: 68

Calling View3D.project() on a point in 3D space doesn’t return the correct screen coordinates.  Nearly, but not quite.  When I rotate the camera the returned 2D point orbits around the 3D point and occasionally meets it.  By a bit of trial and error I’ve found that scaling the Vector3D by 0.85 get me a better result, but still not right.

I get the feeling I’m missing something. Is there anything else I should be taking into account?

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X