Help let true test ray

Software: Away3D 4.x

Avatar
vorodis2, Newbie
Posted: 19 July 2013 01:47 PM   Total Posts: 22

There are two points that I need to let ray and find that to be on his way.

demo
http://vorodis2.com/test/raytest/
sors
http://vorodis2.com/test/raytest/RayAway.rar

//v0, v1, v2 - What is it??????
var v0:Vector3D = new Vector3D(-500,0,-500);
var v1:Vector3D = new Vector3D(+500,0,-500);
var v2:Vector3D = new Vector3D( +500, 0, +500); 

var ins:Vector3D = ray.getRayToTriangleIntersection(_p0, _p1, v0, v1, v2);

   

Avatar
vorodis2, Newbie
Posted: 07 August 2013 11:32 AM   Total Posts: 22   [ # 1 ]

Understood.
It is also useful if someone filling the mesh.
http://vorodis2.com/test/rayAway/
Suddenly to be useful.
http://vorodis2.com/test/rayAway/RayAway.rar

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X