![]() |
|
#1
|
|||
|
|||
|
wiimote
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 |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange Wii Mote error... | shivanangel | Vizard | 8 | 02-18-2009 01:32 PM |
| vizinfo + wiimote ? | djdesmangles | Vizard | 6 | 10-22-2008 03:18 PM |
| Sending sound to Wiimote ? | djdesmangles | Vizard | 1 | 07-31-2008 12:26 PM |
| wiimote and sensor bar | masaki | Vizard | 1 | 03-06-2008 04:07 PM |