How to draw a ray?

Is there an easy way to draw a ray?  I can’t see anything obvious in the source code, but I’m hoping that there’s something like “ray.getLine()” or something.

(I did try searching the forums, but searching for the word “ray” is a waste of time! :’()

Well, with Ray you know it's origin point and you know its direction. So just extend the direction out (multiply it by a scalar) how ever far you want your line to be, and use those two points in the Line class in the com.jme.scene package. A convenience method probably would be nice, but it probably wouldn't be that difficult as the Line class has a constructor where you can just pass those two vectors in as an array.

Thanks, you're right, it's not that hard!  XD