Hi Everyone!
I tried to code an Augmented Reality application with flartoolkit and PV3D. In my application I tried to locate a DAE model to markers plane according to my mouse click. For this, I use the “unprojected methot” to get intersection point of my mouse click and the plane. But for getting the intersection point I needed to get the normal of the plane as seen on this codes:
var ray:Number3D = flarCamera3D.unproject(mouse.x,mouse.y);
var p:Plane3D = new Plane3D();
var normal: Number3D = I DONT KNOW HOW TO FIND??
p.setNormalAndPoint(normal, markerPosition);
var intersect:Number3D = p.getIntersectionLineNumbers(flarCamera3D.position, ray);
But I could’nt achieve to get the normal of the plane. So I decided to observe AWAY3D. Can I find the normal vector of this plane with AWAY3D?
Thanks alot.
Erdem.