WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-08-2010, 08:00 AM
dwaik dwaik is offline
Member
 
Join Date: Feb 2010
Posts: 26
rotate camera about an object

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
Reply With Quote
  #2  
Old 02-08-2010, 10:02 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can set the camera handler to pivot navigate.
Code:
import viz
viz.go()

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

#Setup camera navigation
import vizcam
vizcam.PivotNavigate(center=[0,1,0],distance=5)
Reply With Quote
  #3  
Old 02-09-2010, 01:06 AM
dwaik dwaik is offline
Member
 
Join Date: Feb 2010
Posts: 26
thanks alot man that was helpful
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
retrieve Object names Geoffrey Vizard 11 12-11-2009 04:26 AM
rotate object in relation of sth. else Penguin Vizard 6 05-11-2009 08:54 AM
how to pick up the object, move and rotate using mouse nasr Vizard 5 05-05-2009 03:11 AM
Child Object Rotation paulgoldberg Vizard 5 09-05-2006 11:33 AM
rotate to object jargon Vizard 1 08-08-2005 12:20 PM


All times are GMT -7. The time now is 02:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC