WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Jeff
Forum: Vizard 11-17-2016, 03:29 PM
Replies: 4
Views: 8,752
Posted By Jeff
You can add a loop inside the task function: ...

You can add a loop inside the task function:

def proximityTask():

while True:
yield vizproximity.waitEnter(SensorIndexFinger)
print 'entered sensor'
yield viztask.waitTime(2)
print...
Forum: Vizard 11-16-2016, 05:36 PM
Replies: 4
Views: 8,752
Posted By Jeff
Use the vizproximity.waitEnter command within a...

Use the vizproximity.waitEnter command within a task function:

import viztask

def proximityTask():

yield vizproximity.waitEnter(SensorIndexFinger)
print 'entered sensor'
yield...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -7. The time now is 09:29 PM.


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