Added methods worldMatrix() and distanceOnRay().