WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: jelly
Forum: Vizard 11-23-2016, 04:20 AM
Replies: 4
Views: 2,650
Posted By jelly
Smile Jeff, thank you very much! It works perfectly, I...

Jeff, thank you very much! It works perfectly, I have adapted it for my script:

def delayTask():
global handstate
yield viztask.waitTime(2)
handstate = 1
print '2 seconds elapsed'
yield...
Forum: Vizard 11-22-2016, 10:02 AM
Replies: 4
Views: 2,650
Posted By jelly
I have tried this code but what it does is, it...

I have tried this code but what it does is, it triggers the action as long as the sensor is still entered, after 2 seconds and does not do that if the sensor is exited before 2 seconds have elapsed....
Forum: Vizard 11-21-2016, 03:32 AM
Replies: 4
Views: 2,650
Posted By jelly
delaying proximity reaction makes sensor unresponsive for the time of delay

In a recent post I had a problem implementing a delay in the proximity manager and Jeff has suggested the solution of using "vizproximity.waitEnter" and a while loop:

def proximityTask():
...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -7. The time now is 02:40 AM.


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