View Single Post
Old 05-12-2009, 02:26 AM
nasr nasr is offline
Join Date: Apr 2009
Posts: 27
how to move the other part

def toggleLink():
	global link
	if link:
		#If link exits, stop grabbing
		link = None

	elif vizmat.Distance(hand.getPosition(), ball.getPosition()) < .5:
		link = viz.grab( hand, ball )

with this code i am able to one component using the marker. i have included one more component.. when i am trying to pick the other component the first component is also moving how to disable the link between the market and first component?
Reply With Quote