Vizard 7 » Command Index » Vizard objects » viewpoint » <viewpoint>.move
7.7

<viewpoint>.move

Move the viewpoint the given amount in each direction

<viewpoint>.move(  
[x,y,z]  
mask = viz.VIEW_ORI # Positional argument
)  
[x,y,z]
The amount to move along each axis of the local coordinate system.
mask = viz.VIEW_ORI
This specifies which orientation to move relative to. Can be one of the following:

viz.HEAD_ORI
viz.BODY_ORI
viz.VIEW_ORI

Remarks

By default, movements are made relative to the VIEW orientation, which is the composite of the HEAD and the BODY orientations. To modify this, you can change the optional mask parameter to HEAD_ORI or BODY_ORI.

Return Value

None

Example

viz.MainView.move(0,0,1) # Move 1 meter forward