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!