View Single Post
  #2  
Old 04-08-2009, 03:12 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You could send the orientation of the viewpoint from one machine and then grab the headbone of the avatar, and set its orientation to that. Something like this.
Code:
def sendData():
	target_mailbox.send(euler = viz.MainView.getEuler())
and on the other machine
Code:
head = avatar.getBone('Bip01 Head')
head.lock()
def onNetwork(e):
    head.setEuler(e.euler, viz.AVATAR_WORLD)
Reply With Quote