![]() |
|
#2
|
|||
|
|||
|
Are you using Vizard 3 or 4?
If you are using Vizard 4, then you can use the vizact.spinTo action to animate the viewpoint to look towards a specific point. Example: Code:
# Animate looking at specified point for half a second lookAtAction = vizact.spinTo(point=(0,1.8,8),time=0.5,interpolate=vizact.easeOut) # Add action to main view viz.MainView.runAction(lookAtAction) |
| Tags |
| fluent, rotation, viewpoint |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| load a texture on a object of a viewpoint | Darkmax | Vizard | 1 | 11-12-2010 12:52 PM |
| limiting object rotation | Philippe | Vizard | 5 | 10-07-2010 05:31 PM |
| How to make an object fixed in viewpoint coordinate system? | Xianshi Xie | Vizard | 1 | 06-22-2009 12:31 PM |
| Object rotation | Andrey | Vizard | 4 | 06-13-2007 03:49 PM |
| Child Object Rotation | paulgoldberg | Vizard | 5 | 09-05-2006 12:33 PM |