wannabee

01-10-2008 11:22:35

I want to find out the distance from my node to the point of terrain intersection.

I use the rayIntersects method and the returned intersection point.

But when I try to get the distance, either through the distance or normalise method of Vector3 my app crashes.

What could be wrong?

(I use ETM 2.2.)

I use the rayIntersects method and the returned intersection point.

But when I try to get the distance, either through the distance or normalise method of Vector3 my app crashes.

What could be wrong?

(I use ETM 2.2.)