Hello,
I've played around around with trying to add polylines for showing vertex normals but have failed because they would not behave correctly on the Y-axis. So I created this tiny example:
Object3D object = ...;
world.addObject(object);
world.addPolyline(new Polyline(new SimpleVector[] {
object.getTransformedCenter(),
object.getTransformedCenter().calcAdd(new SimpleVector(1, 1, 1))
}, RGBColor.RED));
The thing that happens is that as the polyline has the right direction and magnitude but originates a fair bit below the object when I stand close to it and as I back away from it in any direction the entire line moves further down and ultimately disappears through the floor of my level. The line doesn't seem to otherwise transform, it just moves downwards. The object and line are stationary, only the camera is moving, and only on the X- and Z-axes while rotation around the Y-axis. Am I misunderstanding how this is supposed to work?