A question about rotation…

Software: Away3D 4.x

jth133, Newbie
Posted: 17 March 2013 02:00 PM   Total Posts: 5

I recently started using Away3d and have run into an issue that I’m hoping someone will be able to provide guidance on.

In my scene I have two points, pointA is at (0,0,0) and pointB is at a random location, for example (34,-26,98). In addition I have a torus object that’s also located at (0,0,0) and whose radius is determined by the distance between the points. What I need to do is rotate the torus so that it intersects with pointB, but I’m having trouble with the code involved. Any insight into a solution would be much appreciated. Thanks!

   
   
‹‹ AlphaMaskMethod example

X

Away3D Forum

Member Login

Username

Password

Remember_me



X