Thread: boresite?
View Single Post
  #8  
Old 10-09-2007, 10:03 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I did not expect that to work, it was just a placeholder since I didn't know what tracker you are using. Just replace it with your actual tracker. Please look at the example again. It performs the preTrans on the link object, not the sensor object. In your code you are performing the preTrans on the sensor. You might want to have a look at the documentation for using links. It should explain how they work.

To answer your first question, preTrans will perform the translation in the objects local coordinate system.
Reply With Quote