Yield until joystick is deflected by a certain degree
I've read the example scripts of yield statement, but I don't know how to realize this function: The function won't go to the next line until the user deflected the joystick beyond a certain degree. Here's my code:
HTML Code:
def pointing_task(joystick) Thanks a lot! |
I got it. viztask.waitTrue() can do the job.
|
All times are GMT -7. The time now is 12:22 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC