WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 10-16-2013, 09:15 AM
seal seal is offline
Join Date: Oct 2013
Posts: 8
Bouncing point of view during walking

Dear all,

I am working on a project in which the point of view of a walking person will be simulated. So I need to add fluctuation of natural walking to the main view when the subject is moving.

I was thinking about linking the main view to an moving avatar with his body bouncing during walking. Would that be possible? Or is there a better way to achieve this?

I am quite new to Vizard. Any help and suggestion would be highly appreciated.

Many thanks!
Reply With Quote
Old 10-17-2013, 02:27 PM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
Yes, you can link the viewpoint to the head bone of the walking avatar:
Toggle avatar with spacebar
import viz
import vizact
import vizinfo


ground = viz.addChild('ground.osgb')
avatar = viz.addAvatar('vcc_male2.cfg',pos=[0,0,2],euler=[180,0,0])

head = avatar.getBone('Bip01 Head')
link =,viz.MainView)
#Set viewpoint pitch to 0

vizact.onkeydown(' ',avatar.visible,viz.TOGGLE)
If you want the viewpoint to bounce more try commenting out the line:
Reply With Quote
Old 10-21-2013, 08:02 AM
seal seal is offline
Join Date: Oct 2013
Posts: 8
It works. Thank you very much!
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
View point question atamasan Vizard 7 01-26-2010 04:56 PM
avatar automatically runs animation after fading into view v-clizzin Vizard 1 10-14-2009 05:01 PM
View nlfrnassimi Vizard 0 03-17-2009 02:01 AM
View nlfrnassimi Vizard 4 03-12-2009 05:25 AM
problem with stereo mode shivanangel Vizard 3 10-17-2006 09:58 AM

All times are GMT -7. The time now is 06:59 PM.

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