Hello,
I am having an issue when using the flex drag/drop feature to drop an
image on a mesh (3DS model).
The problem is that while dragging all the mouse events seem to be
disabled ( the flex UIComponents below mouse do not throw a MouseOver
event / same for MouseEvent3D)
So I have tried to retrieve the 3D picking point at drop time on my
mesh:
(note: I had to modify the View3D class to force _mouseIsOverView
param to true when DragEnter inside my view3D UIContainer )
private function _onDragDrop(e:DragEvent):void {
view3D.findHit(view3D.session , view3D.mouseX , view3D.mouseY);
var evt:MouseEvent3D =
view3D.getMouseEvent(MouseEvent3D.MOUSE_UP);
...... create 3D image at picking point here (evt.sceneX ,
evt.sceneY , evt.sceneZ)
}
Unfortunately the picking points I am getting are totally wrong and do
not return the Face that was picked.
So is there a specific way to perform a "virtual" picking over a
specific mesh ?
Thanks a lot for any help.
--
To unsubscribe, reply using "remove me" as the subject.