WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 01-16-2011, 11:35 PM
shahramy shahramy is offline
Join Date: Dec 2009
Posts: 41
Exclamation moving locally

Hi dear all
I have some problems to move an object with 'REL_LOCAL' property.
I have linked as follows:
mylink = , hand)

I just need Position of 'hand' object, links to mainview position. but I want to move 'hand' object relative to its local coordination. I have (X,Y,Z) to move locally. in fact (X,Y,Z) are local coordination like (1,0,1) not global coordination.

May help me to how can I do this?
MSc Shahram Shahraki
Reply With Quote
Old 01-18-2011, 11:18 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,466
The example below links the hand to a keyboard tracker and keeps it in the reference frame of the main view:
import viz

import vizinfo
vizinfo.add("To move the hand use 'a/d' left/right, 'w/s' forward/back, 'r/f' up/down")

import viztracker
keyTracker = viztracker.KeyboardPos()

hand = viz.addAvatar('hand.cfg')
ground = viz.addChild('tut_ground.wrl')

link =,hand)
Reply With Quote

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
Moving main viewpoint when linked to PPT v-clizzin Precision Position Tracker (PPT) 1 04-20-2010 04:09 PM
Stop moving after few seconds?? Chrissy2009 Vizard 8 05-10-2009 02:47 PM
Moving avatars lips with sound dan12345 Vizard 5 01-29-2008 07:32 PM
Moving view with object Xliben Vizard 2 07-25-2005 05:36 PM
moving viewpoint vs. translating Head_pos bailenson Vizard 5 02-01-2005 01:51 PM

All times are GMT -7. The time now is 02:27 PM.

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