if (_picker != null) {
final Vector3 normalStore = new Vector3();
final Vector3 intersect = _picker.getTerrainIntersection(getWorldTransform(), _terrainCamera.getLocation(),
ray, null, normalStore);
if (intersect != null) {
final double distance = intersect.distance(ray.getOrigin());
final IntersectionRecord record = new IntersectionRecord(new double[] { distance },
new Vector3[] { intersect }, new Vector3[] { normalStore }, null);
return record;
}
}