[WiiFlash] The Wiimote z-Depth?

Merrill, Jason jason.merrill at bankofamerica.com
Tue Dec 18 14:17:09 PST 2007


OK -thanks! So what does:

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

...really tell you? That's the distance of what?  


Jason Merrill
Bank of America  
L&LD GT&O 
eTools & Multimedia Research & Development




 

>>-----Original Message-----
>>From: wiiflash-bounces at osflash.org 
>>[mailto:wiiflash-bounces at osflash.org] On Behalf Of Patrick 
>>Matte | BLITZ
>>Sent: Tuesday, December 18, 2007 4:53 PM
>>To: wiiflash at osflash.org
>>Subject: Re: [WiiFlash] The Wiimote z-Depth?
>>
>>I don't think you can figure out the real distance per se. 
>>The distance between the two points only gives you a reference.
>>
>>But what you could do is walk one meter from the ir sensor 
>>and save that distance value. Then walk 4 meters from the ir 
>>emitter and save that value. Then you could extrapolate any 
>>value in between those two.
>>
>>
>>BLITZ | Patrick Matte - 310-551-0200 x214
>>
>>-----Original Message-----
>>From: wiiflash-bounces at osflash.org 
>>[mailto:wiiflash-bounces at osflash.org] On Behalf Of Merrill, Jason
>>Sent: Tuesday, December 18, 2007 1:47 PM
>>To: wiiflash at osflash.org
>>Subject: [WiiFlash] The Wiimote z-Depth?
>>
>>Hey, Fabien's question reminded me of a related question I 
>>had.  How do you all figure out the z-depth of the Wiimote 
>>from the Sensor bar?  Do you use SensorZ somehow or ir1 and 
>>ir2 with some trig functions?  have any sample Actionscript 
>>code for this?  Thanks.
>>
>>Jason Merrill
>>Bank of America
>>L&LD GT&O
>>eTools & Multimedia Research & Development
>>
>>
>>
>>_______________________________________________
>>WiiFlash mailing list
>>WiiFlash at osflash.org
>>http://osflash.org/mailman/listinfo/wiiflash_osflash.org
>>
>>_______________________________________________
>>WiiFlash mailing list
>>WiiFlash at osflash.org
>>http://osflash.org/mailman/listinfo/wiiflash_osflash.org
>>



More information about the WiiFlash mailing list