WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-13-2008, 05:55 PM
Debbie Debbie is offline
Member
 
Join Date: Nov 2008
Posts: 1
wiimote's distance from screen

Hi,

<wiimote>.posIR returns the [x,y] coordinates of the connected wiimote. Is there any way to retrieve the distance of the wiimote from the screen?

Thanks!

--
Debbie
Reply With Quote
  #2  
Old 11-17-2008, 04:17 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The wiimote just provides the raw position of the IR dots. You can compute the distance of the wiimote by computing the separation of the two dots. The closer the wiimote is to the LED bar, the further away the IR dots will be.
Reply With Quote
Reply

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
screen image erchrastil Vizard 8 06-27-2008 11:45 AM
position of html-file on screen active_world Vizard 1 05-16-2008 07:24 PM
the computers screen becomes fuzzy michelcm3 Precision Position Tracker (PPT) 1 02-07-2008 12:30 AM
putting objects on the screen jargon Vizard 7 05-24-2005 11:31 AM
accessing screen buffer hotspur1 Vizard 3 08-22-2003 03:31 PM


All times are GMT -7. The time now is 02:21 PM.


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