WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 09-01-2016, 05:49 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Can you verify the update function is only called once per timer period? Just want to make sure multiple timers are not inadvertently created.

You could also try updating the view position each frame instead of using the view.velocity command:

Code:
def UpdateView():
	view.setPosition([0, 0, velocity * viz.getFrameElapsed()], viz.REL_LOCAL)

vizact.ontimer(0, UpdateView)
Reply With Quote
 


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
animation path problem - coordinates not resetting jelly Vizard 7 04-26-2016 10:45 AM
Using Oculus and Vicon for updating in pit Qiliang He Vizard 1 09-06-2015 02:46 PM
Prevent Oculus DK2 updating the view with accelerometer info Notch Vizard 3 10-24-2014 11:06 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 11:13 AM.


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