View Single Post
  #2  
Old 02-16-2010, 05:35 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Use vizact.onupdate() or vizact.ontimer() to call a function every frame where you get the position of objectA. Based on that position or change from the previous frame you can set the new position of objectB and then scale it based on its distance from the lens.
Reply With Quote