When I run this I get 3.0!!! I think I should get 0.0.
com.jme.math.Line l2 = new com.jme.math.Line(
new Vector3f(0f,0f,0f), new Vector3f(0f,2f,0f));
System.err.println(l2.distance(new Vector3f(0f,1f,0f)));
Do I not understand the distance function? Is there a way to see if a Vector3f is on the line before I call distance?
I'm new here…should i have posted this somewhere else?
Thanks,
Tim
I dont know, and why are you double posting ?