![]() |
|
#11
|
|||
|
|||
|
The vizact.onmousedown(' ' ,toggleLink()) needs a mouse button argument. Check docs on this.
Otherwise I don't see whats wrong. Throw some print statements around to see where the code is going or not going. You also have the possibility of creating two links and loosing your handle to the first link. To fix create a list of grabable objects and use a "for in" loop to check if the hand should grab. If you grab, end the loop with a "break" statement.
__________________
Paul Elliott WorldViz LLC |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any ideas on linking chess 3ds file with source code? | djones1010 | Vizard | 1 | 04-24-2009 09:56 PM |
| Trying to integrate Source Code with Vizard | djones1010 | Vizard | 1 | 03-10-2009 02:58 PM |
| Vizard Tip of the Month: Use Tasks to Simplify your Code | Gladsomebeast | Vizard | 5 | 05-02-2008 04:30 PM |
| 3D Music Interface | Psirus | Vizard | 3 | 02-26-2008 11:48 AM |
| Vizard Crashes: causes are hard to determine, possible problem with the viz code | vr_boyko | Vizard | 1 | 01-07-2005 10:52 AM |