View Single Post
Old 05-11-2009, 01:57 AM
nasr nasr is offline
Join Date: Apr 2009
Posts: 27
how to disable the link between the first object and move the second object

def toggleLink():
    global link
    if link:
        #If link exits, stop grabbing
        link = None
        #If no link, grab the ball with the hand
        link = viz.grab( hand,ball )
vizact.onkeydown(' ',toggleLink)
jeff thankyou very much for your suggestions..
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..
Reply With Quote