WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-19-2018, 07:58 PM
amir amir is offline
Member
 
Join Date: Apr 2018
Posts: 22
I defined my event as ToggleRed and got it to work with the proximity sensor.

I added this toggle keypress:

vizact.onkeydown('m',ToggleRed)

However, I'm unable to toggle it off after toggling it on (i.e. it starts off as off, I press 'm' to toggle it on, but then pressing 'm' again doesn't toggle it off).

What am I missing to be able to toggle it both on and off?

Thanks!
Reply With Quote
 

Tags
animation, optotrak, pit, vizact

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Road Animation Path vserchi Vizard 4 11-12-2015 10:29 AM
Unusual tracker sensor setup with Vizard Zhi Vizard 2 06-12-2012 10:52 AM
Integrated orientation tracker in zSight HMD Zhi Vizard 2 06-06-2012 09:29 AM
The problem of tracker using via VRPN _kj_ Vizard 2 08-13-2009 01:03 AM
Problems with interaction of vizact.turn and animation path Enlil Vizard 3 11-24-2008 05:23 PM


All times are GMT -7. The time now is 11:36 PM.


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