Hi all,
I'm looking at integrating the wiimote into an environment created in vizard.
I've looked at the documentation in help, still relatively new to python and vizard apologies
I have a few questions, I was previously using viz.pick to find out which object the mouse is pointing towards. I'm now using a pointer as demonstrated in the documentation:
pointer = viz.addTextQuad(viz.SCREEN, texture=viz.add('arrow.tif'))
etc..
I need to select an object how would i achieve this without using viz.pick?
I have thought about using the arrow keys to navigate similar to the below code using the arrow keys of the keyboard
vizact.whilekeydown(viz.KEY_LEFT, viz.rotate, viz.BODY_ORI, -ROTATION_INC, 0, 0)
I have got this far
thinking of creating a seperate method for each button
vizact.onsensordown(wiimote,wii.BUTTON_LEFT,func,a rgs)
I'm not sure where to go from here.
I look forward to hearing your opinions on how to approach this.
Thanks