<viz>.move

Move the viewer the given amount in each direction

 

<viz>.move(
    side    
    up    
    forward    
    mask = VIEW_ORI    

)

 

side

Move this much to the right in meters.


up

Move this much upward in meters.


forward

Move this much forward in meters.


mask = VIEW_ORI

This specifies which orientation to move relative to. Can be one of the following:

HEAD_ORI
BODY_ORI
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.

NOTE: side, up and forward can be individual values or a list.

Return Value

None

Example

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