View Single Post
  #2  
Old 04-11-2016, 07:35 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can set the reference frame of the crosshair to viz.RF_VIEW:

Code:
crosshair = viz.addTexQuad(texture=viz.add('crosshair.png'),pos=[0,0,3],scale=[0.5]*3)
crosshair.setReferenceFrame(viz.RF_VIEW)
I'll post a simple example soon that uses the pick command to track the objects looked at.
Reply With Quote