IsaDuarte
02-09-2011, 08:38 AM
Hi all,
I am trying to use the joystick to navigate, however i am not able to pick objects with it as I am with the mouse, as here:
def pickChair():
object = viz.pick()
if object==chair1 or object==chair2:
if object.valid():
object.visible(viz.OFF)
vizact.onkeydown(' ', pickChair)
Does anyone know how to do this, but using the joystick?
Thank you in advance.
Best regards,
Isabel
I am trying to use the joystick to navigate, however i am not able to pick objects with it as I am with the mouse, as here:
def pickChair():
object = viz.pick()
if object==chair1 or object==chair2:
if object.valid():
object.visible(viz.OFF)
vizact.onkeydown(' ', pickChair)
Does anyone know how to do this, but using the joystick?
Thank you in advance.
Best regards,
Isabel