View Single Post
  #3  
Old 06-28-2010, 09:45 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You should create the rectangle so that it is centered around the axis you want it to rotate about. Instead of adding the position to the vertex positions, specify the vertices so they are centered about the origin (0,0,0), and then add the position to the entire model using the Rectangular.setPosition command.
Reply With Quote