View Single Post
  #6  
Old 05-17-2011, 05:56 PM
moneim230 moneim230 is offline
Member
 
Join Date: Oct 2009
Posts: 18
Thumbs up

Quote:
Originally Posted by Jeff View Post
Sorry about that, there was missing code in the documentation. If you add the following to the client script does it work for you?
Code:
def sendUpdate(): 
    ori= viz.MainView.getEuler()
    pos = viz.MainView.getPosition()
    viznet.client.sendAll(UPDATE,client=viz.getComputerName(),object=obj_choice,pos=pos,ori=ori)
vizact.ontimer(.05,sendUpdate)
thx Jeff it works now.
i hope vizard 4.0 documentation will get updated with this missing code.
Reply With Quote