Thread: Object rotation
View Single Post
  #2  
Old 06-13-2007, 12:40 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I believe the following code should accomplish this:
Code:
object.translate(P1)
object.lookat(P2)
Reply With Quote