![]() |
|
#3
|
|||
|
|||
|
how to disable the link between the first object and move the second object
Code:
def toggleLink():
global link
if link:
#If link exits, stop grabbing
link.remove()
link = None
else:
#If no link, grab the ball with the hand
link = viz.grab( hand,ball )
vizact.onkeydown(' ',toggleLink)
im using more than one object. when im moving the first object with the marker its perfect but when im leaving the first object and trying to move the second object the first object is still moving along with the cursor. how can disable moving the first object and just move the second object.. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to move front and back | nasr | Vizard | 2 | 05-11-2009 03:00 AM |
| how to pick up the object, move and rotate using mouse | nasr | Vizard | 5 | 05-05-2009 04:11 AM |
| move animated camera around corner question | nlfrnassimi | Vizard | 1 | 02-23-2009 10:45 AM |
| node3d.visible(viz.OFF) Problem | Sandro Holzer | Vizard | 6 | 02-10-2009 07:20 AM |
| Move Objects | Johannes | Vizard | 8 | 01-19-2005 11:15 AM |