#1
|
|||
|
|||
Disable mouse click till Avatar finish its instructions
I want to user of my interface will only able to click on object shown by avatar only after avatar finish speaking. How its possible?
As user sometime click the target while avatar speaking which causes my code to stop work. Please Help. |
#2
|
|||
|
|||
Use the viztask.runAction command to run an action (e.g. speak action) and wait for it to finish. Before running the action you can disable the mouse and after it completes you can enable the mouse. Can you describe further what you mean by clicking on an object?
|
#3
|
|||
|
|||
Clicking Object means avatar give two options to children and children has to click on right option. But children usually click on the option before avatar finish command. I want to disable mouse at that time. How it is possible?
|
#4
|
|||
|
|||
You could hide the visibility of the mouse cursor using the setVisible command. Or you could disable the GUI objects you don't want clicked.
|
#5
|
|||
|
|||
Is it possible to disable mouse function for some time rather than hiding visibility of mouse?
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Avatar using mouse orientation tracker and pre-recorded animation | clalual | Vizard | 4 | 10-30-2018 08:41 AM |
Unexpected Avatar lookAt() behavior when using yield statements | chris2307 | Vizard | 2 | 12-17-2013 03:58 AM |
get object on mouse click | Batigol | Vizard | 5 | 10-25-2012 09:03 PM |
Navigating an avatar using mouse position(2D) in 3D environment | james007 | Vizard | 1 | 10-16-2009 12:29 PM |
Avatar finish speech ? | djdesmangles | Vizard | 2 | 02-15-2008 07:56 AM |