I run into a problem, which I think is a bug.
I'm drawing an ellipse (EllipseNode) which is draped to the terrain. and is a child of a GeoTransform.
Under the GeoTransform, I'm placing another Node (some plane model).
But, when I'm changing the position of the GeoTransform the ellipse's position is being changed only a few frames after the model's position.
It is noticeable mainly when I put the camera (EarthManipulator) to track the GeoTransform (viewpoint.setNode(geoTransform)).
Here is the full code to recreate the bug (just add a map to see the movement).
Can anyone tell me Why is it happening?
Is it me that causes it, or is it a bug?
The only solution I found to by pass this problem was to change the graph to look like that:
SkyNode ->MapNode -> Group -> DrapeableNode -> GeoTransform -> EllipseNode
-> GeoTransform -> Node
i.e. the root holds both the DrapeableNode of GeoTransform of the EllipseNode and GeoTransform of the Node (model)
But this doesn't explain why the there is a latency in the first place.
Thanks for pointing this out. Indeed, if there is a DrapeableNode under a GeoTransform, it will experience a frame delay. (You can even simplify your example by using one GeoTransform and putting your airplane model directly under it, and then under a DrapeableNode under it as well.)
If you would be so kind as to open a github issue for it, we will take a closer time when time permits. Thanks.