[WiiFlash] how to mesure Ir distance

Patrick Matte | BLITZ PMatte at blitzagency.com
Tue Dec 18 13:41:19 PST 2007


That should give you the distance between the two points.

var distance:Number = flash.geom.Point.distance(wiimote.ir.point1,wiimote.ir.point2);


BLITZ | Patrick Matte - 310-551-0200 x214

-----Original Message-----
From: wiiflash-bounces at osflash.org [mailto:wiiflash-bounces at osflash.org] On Behalf Of fabien maison
Sent: Tuesday, December 18, 2007 1:35 PM
To: wiiflash at osflash.org
Subject: [WiiFlash] how to mesure Ir distance

Hi all !

Can we get the distance beetween the two ir led in an sensor bar ? so we
can make triangulation ?
I know wen have the wiimote.ir.x1 and wiimote.ir.x2 value, but this is
the same value... or do i make some mistake ??

thank's


_______________________________________________
WiiFlash mailing list
WiiFlash at osflash.org
http://osflash.org/mailman/listinfo/wiiflash_osflash.org



More information about the WiiFlash mailing list