View Single Post
  #2  
Old 01-11-2012, 01:47 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Take a look the viz.pick command. When you're not picking with the mouse you can specify the position on screen to perform the pick. In your case that's the quad position. Register a callback function using vizact.onupdate that calls the pick command every frame. If an object is returned then apply the action to it.
Reply With Quote