![]() |
|
#3
|
|||
|
|||
|
how to move the other part
Code:
def toggleLink(): global link if link: #If link exits, stop grabbing link.remove() link = None elif vizmat.Distance(hand.getPosition(), ball.getPosition()) < .5: link = viz.grab( hand, ball ) vizact.onpick(ball,toggleLink) |
|
|
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 |