Just posted a message and added a class for this. check the getIntersect() handler.
Fabrice On May 21, 2010, at 7:06 AM, Guitouxx wrote: > Hi everybody, > > I have a little problem with my project. I'm using Wiiflash and away3d > for a mini skeet shoot game. For now, I have created ground, gun, > navigation with the wiimote...but now I'm launching the "shoot > process". > > To have a cursor on the screen with the wiimote, I have used the > "VirtualMouse" class by Senocular and it's great. The camera follow > the cursor and the gun looked at the cursor correctly. > > But I'm a little bit confusing right now. How can I translate the 2d > coords of the virtual mouse into a 3d coords. > > I have an idea to simulate a mouseEvent3D on the view3D with my > wiimote cursor but no success.... > > Someone has a better idea?? > > Thxxxxx > > bye > > Guitouxx
