PDA

View Full Version : rotate camera about an object


dwaik
02-08-2010, 08:00 AM
hello...

i need to rotate a camera about an object,
i could parent objects to each other, but couldnt parent camera under another object, as another solution i noticed that MainView.pivot() i tried to to move the pivot to that object, but nothing happens.
dont know what to do...
if please someone can help

Jeff
02-08-2010, 10:02 AM
You can set the camera handler to pivot navigate.
import viz
viz.go()

female = viz.add('vcc_female.cfg')

#Setup camera navigation
import vizcam
vizcam.PivotNavigate(center=[0,1,0],distance=5)

dwaik
02-09-2010, 01:06 AM
thanks alot man that was helpful :D