In case you don't want to use mouseEvents, I'm sending the code thatt
I used based on Rob's help.

                        var rayToMouse:Number3D = new Number3D(this.view.mouseX 
/
this.perspective, this.view.mouseY / this.perspective,
this.distanceToObjectCenter);

                        rayToMouse.transform(rayToMouse, 
this.camera.invViewMatrix);
                        rayToMouse.sub(rayToMouse, this.camera.position);
                        rayToMouse.normalize();

Hope it helps you.
Felipe

Reply via email to