View Single Post
  #2  
Old 05-05-2016, 05:28 AM
rajnishv rajnishv is offline
Member
 
Join Date: Jan 2016
Location: Kalina,Sanatcruz(East),Mumbai,Maharashtra,India
Posts: 94
Smile Vizconnect Viewpoint animation via transport.

Thank you Jeff, I managed it via Transport..:

The updated code to move the viewpoint...

Code:


#Set the animation speed and mode
SPEED = 12,000
MODE = viz.SPEED
ROTATE_MODE = viz.NO_ROTATE

def gotoViewPointAmeniteis(pos):
global vp
#action = vizact.goto(pos,SPEED,MODE,pivot=(0,1,0),rotate_mo de=ROTATE_MODE)
action = vizact.goto(pos,SPEED,MODE,pivot=vizconnect.getVie wpointDict(),rotate_mode=ROTATE_MODE)
vizconnect.getTransport().getNode3d().runAction(ac tion)


Cheers!!
Thank you
World Viz
Especially Jeff and Kevin
Reply With Quote