WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-20-2009, 06:58 AM
Sjaak Sjaak is offline
Member
 
Join Date: Apr 2009
Posts: 5
Wiimote in 4 sided Cave

Hello,

I want to use the buttons of the Wiimote to travel (no rotation) through a world projected in our Cave.

How can I do that? I don't see an example in the help neither on this forum. There are examples with the keyboard that work in the cave.

#Create another tracker using the keyboard and mouse (arrow keys adjust position, mouse changes orientation)
origintracker = viztracker.KeyboardMouse6DOF()

#Link the keyboard/mouse so that it moves the cave and user around the virtual environment
originlink = viz.link (origintracker, caveorigin)

But the wiimote?

Something like this?

def CaveTravel():
#take the caveorigin and move
# I don't know what to put here


vizact.onsensordown(wiimote,wii.BUTTON_A,CaveTrave l)

thanks
Sjaak
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
orthographic projection in a head-tracked cave environment michaelrepucci Vizard 5 12-14-2011 11:29 AM
Four Wall Cave on One Computer envisC Vizard 1 04-28-2009 06:02 PM
Four-wall CAVE using two PCs dtidrow Vizard 5 03-24-2009 03:51 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


All times are GMT -7. The time now is 08:34 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC