global to local 3d

Software: Away3D 4.x

dr_slam, Newbie
Posted: 05 January 2014 06:06 PM   Total Posts: 4

Hello to everyone!

I have a question about the coordinates of the object. So, I have a sphere object on the plane (plane is clickable), i need to move this sphere to the point i click on the plane. How can I transform current mouse coordinates to its coordinates on the mesh (my plane)? then I’ll use the coordinates in tweener. All answers I found recommends to use globalToLocal method, but I can’t apply it to away3d mesh. I use Flash Builder 4.6 and away3d gold 4.1.4

thanks.

   

Avatar
theMightyAtom, Sr. Member
Posted: 06 January 2014 07:34 AM   Total Posts: 669   [ # 1 ]

Check out the tutorials. I believe this is exactly what you’re looking for…
http://away3d.com/tutorials/Interactivity_and_Tweening

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X