JavaFX 3D: Transforming Cylinder to defined start and end points
问题 Suppose that I want a Cylinder to start in some 3D point and to end in some other 3D point. As far as I know, the way to do that, is to compute the Euclidian distance between the 2 points and to create a Cylinder with the same length. Then, the cylinder should be translated and rotated, such that it really starts at the start point and ends at the end point. I get messed up with these transformation and do not succeed to place the Cylinder in its correct place. Could you please share some