WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   wiimote's distance from screen (https://forum.worldviz.com/showthread.php?t=1712)

Debbie 11-13-2008 05:55 PM

wiimote's distance from screen
 
Hi,

.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

farshizzo 11-17-2008 04:17 PM

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.


All times are GMT -7. The time now is 03:05 PM.

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