Temporal delay on movement
I was wondering if there was a way to delay the input sent for movement. I'm using vizcam.addWalkNavigate() to control my movement currently, and I was wondering if there was a way to have my movement be slightly delayed from my actual input, so that I can, for example, press the key to move forward and then a second or two later, the movement would actually occur.
Thanks in advance! |
You could try something like the following:
Code:
import viz |
Fantastic! That worked for using addWalkNavigate, but I'm now using VRPN 7 to get location data, as such:
Quote:
|
Are you getting any errors? Can you post the code you tested with?
|
No errors, but here's the code I'm working with:
Quote:
|
The manual setting of the viewpoint in your script is overridden by the viewpoint link defined in the viztracker file. For this custom viewpoint movement its probably best to configure the trackers in this script and not use viztracker.
|
All times are GMT -7. The time now is 04:20 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC